General discussion

Locked

How to Bind a Picture Box control to a A

By sreekumarp ·
How can i bind a picture box control to
a adodb recordset. I have a sql server
table having a image column i need to bind this to a picture box conrtol and i am not
using ado control insted using ado recordset.
I tried it by assingning datafield , datasourse and datamember but it shows error
unable to bind datafield or datamember. What should i need to do
Thank you
Sreekumar

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

How to Bind a Picture Box control to a A

by Todd Parker In reply to How to Bind a Picture Box ...

Should we assume you are trying this in VB?

If so - I would suggest you build your forms with the 'Add-in' Visual Data Manager. That will make it easier for you by assigning your Datasource and Datafield automatically.

How was your recordset created? Manually writing an ADO connection script? A Data Connection? Did you include a Data Control on your form? Is this the only field on your form? Are other fields working properly?

Good luck bud,
-Me

Collapse -

How to Bind a Picture Box control to a A

by sreekumarp In reply to How to Bind a Picture Box ...

The question was auto-closed by TechRepublic

Collapse -

How to Bind a Picture Box control to a A

by Cedric King In reply to How to Bind a Picture Box ...

I assumed you want to display the correct picture whenever you moves through the recordset. The value in the database would be a path. To the recordset, it would be a string and being a string, there would be no error. You can just set the Picture Box path to the value from the database whenever the user moves through the recordset. It shouldn't be a problem.

Collapse -

How to Bind a Picture Box control to a A

by sreekumarp In reply to How to Bind a Picture Box ...

The question was auto-closed by TechRepublic

Collapse -

How to Bind a Picture Box control to a A

by sreekumarp In reply to How to Bind a Picture Box ...

This question was auto closed due to inactivity

Back to Web Development Forum
5 total posts (Page 1 of 1)  

Software Forums