quicksilverm26
Member
- Joined
- Jun 8, 2006
- Messages
- 5
- Programming Experience
- Beginner
am new to vb.net programming and have the following question. I am getting data from database into 3 separate listbox. These controls are basically getting populated from separate sql queries.
I want the user to double click on one item per listbox, so that the item automatically populates a pre-defined column of the datagridview (for the current row).
Currently, there is one current row having some default values. I want the user to double click on LISTBOX A so that COLUMNA of the current row gets populated by it.
Similarly double clicking on LISTBOX B and LISTBOX C should add the item into the COLUMN B and COLUMN C for the datagridview( for the current row).
How can this be accomplished. Could someone provide me with some sample code or give some direction.
Thanks,
Raj
I want the user to double click on one item per listbox, so that the item automatically populates a pre-defined column of the datagridview (for the current row).
Currently, there is one current row having some default values. I want the user to double click on LISTBOX A so that COLUMNA of the current row gets populated by it.
Similarly double clicking on LISTBOX B and LISTBOX C should add the item into the COLUMN B and COLUMN C for the datagridview( for the current row).
How can this be accomplished. Could someone provide me with some sample code or give some direction.
Thanks,
Raj