malanois
asked on
Datagrid Row Selections
This has been bothering me for a while now. I am using OLEDbAdapter to fill a dataset. The dataset is filling a data grid. I have a Column that is not visible in the normal Datagrid. When a user selects a given row in the datagrid I need to fill 2 seperate items. 1 being a picture box, the other being a txt box.
The select statement has PN, TR_Desc, Desc, Pic, Vendor
Desc is not being shown in the main datagrid.
I need Pic to show in the Picture Box (pbx1)
and
Desc to fill in another Text Box (txtbx2)
Any suggestions will help
MJ
The select statement has PN, TR_Desc, Desc, Pic, Vendor
Desc is not being shown in the main datagrid.
I need Pic to show in the Picture Box (pbx1)
and
Desc to fill in another Text Box (txtbx2)
Any suggestions will help
MJ
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
it worked 99%.
I had to throw a loop in there if the pic value was null not to load. However I still cannot get an image to show in my pic box.
The database has the image file name in the image column. 1234.jpg, I have also tried \\1234.jpg, \\trdb\image\1234.jpg
And it still wont load the image. however i dont get and error on those though....
MJ