Binding a PictureBox to a SQL image field 
Author Message
 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



Mon, 26 Feb 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Binding an Image control to an Image field in SQL Server

2. Binding an Image control to an Image field in SQL Server

3. PictureBox won't bind to OLE Object image field

4. save from VB picturebox to SQL image field using INSERT INTO

5. Display Image in picturebox from db image field without temp file

6. dataset Image binding to PictureBox

7. Bind PictureBox to a database field

8. Fill in Image controls from SQL image fields

9. How to retrieve a bitmap-image from a SQL Server image field using ADO

10. How to insert from an image field into a picturebox

11. NEWBIE : Unable to bind field or Member Image

12. SQL Image to Picturebox

 

 
Powered by phpBB® Forum Software