
Binding a PictureBox to a SQL image field
I am using the ADO datacontrol to access a SQL Server database. I have
bound a picturebox control to an image type field. I have also set the
DataFormat property on the picturebox to "picture". Every time I attempt to
run the program I get the error message "Unable to bind to field or
DataMember: '<fieldname>' ". Other controls that are bound to other types
of data work fine on this same form. I have gotten this to work by doing a
GetChunk and AppendChunk from the ado field but this defeats the purpose of
data binding. Is this a bug?
Derrick Morin, MCSD
Made2Manage Systems