M
Michael Lang
I am reading a SQL server datatype "image" field from a SQL server table.
What .NET datatype should I convert it into? That is, what is the
officially correct/best type to convert into?
I am currently working with the sample pubs database. I have a reference to
a single DataRow in the table 'pub_info'...
DataRow dr = ....<bunch of code>
object fieldValue = dr["logo"];
System.Drawing.Image imgLogo = (System.Drawing.Image)fieldValue; // ????
My guess just looks to simple. Does anyone know for sure?
Michael
What .NET datatype should I convert it into? That is, what is the
officially correct/best type to convert into?
I am currently working with the sample pubs database. I have a reference to
a single DataRow in the table 'pub_info'...
DataRow dr = ....<bunch of code>
object fieldValue = dr["logo"];
System.Drawing.Image imgLogo = (System.Drawing.Image)fieldValue; // ????
My guess just looks to simple. Does anyone know for sure?
Michael