Add Select Column to Datagrid

JesseH

Active member
Joined
Feb 9, 2006
Messages
42
Location
Sugar Land, TX
Programming Experience
10+
Version 2003

I would like to add a "Select" column programmatically to a datagrid. I am adding the columns I need already, but now I need to give the user the option of selecting any one row in the data grid. If I knew the columns that would be displayed, I could use the datagrid control and add the Select column then use the itemcommand event.

Question: How can I programmatically add the "Select" column along with my data columns?

Thanks in Advance.
 
You know, it's kinda funny cause Microsoft already thought of this one. To select any one row in the grid, the user uses their mouse to position the on-screen arrow so it is pointing to a row, and then they press the left mouse button
 
Back
Top