Image in GridView becomes "System.Byte[]"

calvin

Regular
Joined
Nov 6, 2003
Messages
71
Hi,

I try to use gridview with objectdatasource to obtain the images from the sql database. Within the database, a datafield is declare as "image" datatype.

Now in my gridview, it doesn't show me the image instead of showing me a text "System.Byte[]"

May I know how to solve it. What column I should use for the image? ImageField, TemplateField, Bound Field?

Please help me!!!

Calvin
 
Back
Top