B
Bob
I am just trying to load a sql image field into a .Net image variable.
Suggestions?
Dim Im as Image
Im = cType(SqlDataReader.GetSqlBinary(0), image) 'does not work
or
Dim Im As Image
Dim SqlBinValue As SqlBinary
Dim By As Byte()
SqlBinValue = SqlDataReader.GetSqlBinary(0)
By = SqlBinary.op_Explicit(sqlBinValue)
Im = CType(By, Image) 'does not work
Thanks
Bob
Suggestions?
Dim Im as Image
Im = cType(SqlDataReader.GetSqlBinary(0), image) 'does not work
or
Dim Im As Image
Dim SqlBinValue As SqlBinary
Dim By As Byte()
SqlBinValue = SqlDataReader.GetSqlBinary(0)
By = SqlBinary.op_Explicit(sqlBinValue)
Im = CType(By, Image) 'does not work
Thanks
Bob