Ado

Simon4VB

Member
Joined
Apr 2, 2009
Messages
23
Programming Experience
1-3
Hi,
I have created a datagrid and added columns, one of them named ID. The ID was set as a button, so when the list is populated the ID of each field is a button.
My intention is that when I click the button an image of that particular ID shows up. I am using VS2005
Any help how to do it please.
Thanks,
Simon.
 
Description is a little but vague, but you probably want to attach an event handler to something like the datagrid's cellcontentclick or see if the datagridviewbuttoncolumn raises events for being clicked. Get the current row's ID, and search wherever the image for that ID is located. Load it into a picturebox or similar GUI component for display and show it near the mouse position
 
Back
Top