Can someone please give me an example in C# on how to retrieve an Image from a Table and store i into a Picture box on a windows form? In addition, how to insert a blob record into a table as well.Reading BLOBs from SQL Server and display it inaWindows FormPictureBox
http://www.akadia.com/services/dotnet_load_blob.html|||Does any one have an example that they have used and written themselves? This example is very confusing.|||Check the code in the following article. It is from the Microsoft Knowledge base article.
http://www.kbalertz.com/Feedback_326502.aspx|||Just in case the above article doesn't suffice your requirement, let me know and I shall post the code written by me.
Showing posts with label retrieve. Show all posts
Showing posts with label retrieve. Show all posts
Saturday, February 25, 2012
BLOB data
I am working on integrating Novell's IDM JDBC driver with a SQL 2005
database to retrieve user photos. The photos are in BLOB format, however
they are too large for eDirectory to handle. Is there a way to resize data
that is already stored in a BLOB field? If not, what's the easiest (and can
be automated easiest) way to export and resize these files? Thanks in
advance!!
Joey
Write a C# app to do it (there are all kinds of image libraries available
out there). SQL Server just sees a big string, basically, that represents
the graphic. There is no way for SQL Server to resize or resample graphics
you store, just like your fridge can't change a 2 L bottle of milk into a
500 mL bottle. :-)
"Joey Kinney" <joey.kinney@.rackspace.com> wrote in message
news:uQM%23dnFlIHA.5160@.TK2MSFTNGP05.phx.gbl...
>I am working on integrating Novell's IDM JDBC driver with a SQL 2005
>database to retrieve user photos. The photos are in BLOB format, however
>they are too large for eDirectory to handle. Is there a way to resize data
>that is already stored in a BLOB field? If not, what's the easiest (and
>can be automated easiest) way to export and resize these files? Thanks in
>advance!!
> Joey
database to retrieve user photos. The photos are in BLOB format, however
they are too large for eDirectory to handle. Is there a way to resize data
that is already stored in a BLOB field? If not, what's the easiest (and can
be automated easiest) way to export and resize these files? Thanks in
advance!!
Joey
Write a C# app to do it (there are all kinds of image libraries available
out there). SQL Server just sees a big string, basically, that represents
the graphic. There is no way for SQL Server to resize or resample graphics
you store, just like your fridge can't change a 2 L bottle of milk into a
500 mL bottle. :-)
"Joey Kinney" <joey.kinney@.rackspace.com> wrote in message
news:uQM%23dnFlIHA.5160@.TK2MSFTNGP05.phx.gbl...
>I am working on integrating Novell's IDM JDBC driver with a SQL 2005
>database to retrieve user photos. The photos are in BLOB format, however
>they are too large for eDirectory to handle. Is there a way to resize data
>that is already stored in a BLOB field? If not, what's the easiest (and
>can be automated easiest) way to export and resize these files? Thanks in
>advance!!
> Joey
BLOB data
I am working on integrating Novell's IDM JDBC driver with a SQL 2005
database to retrieve user photos. The photos are in BLOB format, however
they are too large for eDirectory to handle. Is there a way to resize data
that is already stored in a BLOB field' If not, what's the easiest (and can
be automated easiest) way to export and resize these files' Thanks in
advance!!
JoeyWrite a C# app to do it (there are all kinds of image libraries available
out there). SQL Server just sees a big string, basically, that represents
the graphic. There is no way for SQL Server to resize or resample graphics
you store, just like your fridge can't change a 2 L bottle of milk into a
500 mL bottle. :-)
"Joey Kinney" <joey.kinney@.rackspace.com> wrote in message
news:uQM%23dnFlIHA.5160@.TK2MSFTNGP05.phx.gbl...
>I am working on integrating Novell's IDM JDBC driver with a SQL 2005
>database to retrieve user photos. The photos are in BLOB format, however
>they are too large for eDirectory to handle. Is there a way to resize data
>that is already stored in a BLOB field' If not, what's the easiest (and
>can be automated easiest) way to export and resize these files' Thanks in
>advance!!
> Joey
database to retrieve user photos. The photos are in BLOB format, however
they are too large for eDirectory to handle. Is there a way to resize data
that is already stored in a BLOB field' If not, what's the easiest (and can
be automated easiest) way to export and resize these files' Thanks in
advance!!
JoeyWrite a C# app to do it (there are all kinds of image libraries available
out there). SQL Server just sees a big string, basically, that represents
the graphic. There is no way for SQL Server to resize or resample graphics
you store, just like your fridge can't change a 2 L bottle of milk into a
500 mL bottle. :-)
"Joey Kinney" <joey.kinney@.rackspace.com> wrote in message
news:uQM%23dnFlIHA.5160@.TK2MSFTNGP05.phx.gbl...
>I am working on integrating Novell's IDM JDBC driver with a SQL 2005
>database to retrieve user photos. The photos are in BLOB format, however
>they are too large for eDirectory to handle. Is there a way to resize data
>that is already stored in a BLOB field' If not, what's the easiest (and
>can be automated easiest) way to export and resize these files' Thanks in
>advance!!
> Joey
Subscribe to:
Posts (Atom)