vb.net select cell in datagrid

I have a datagrid that looks like this:

1          a
2           b
3           c

When a user selectes the cell that 'b' is in I want to populate a label with that value.  I need it to do that for all the cells, not just 'b'.
Thanks
LVL 2
bergertimeAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
surajgupthaCommented:
On click of the cell goto the datasource that you are binding to the grid and copy all the values in the abc column to the 123 columsn and bind the datasource back to the grid
0
 
bergertimeAuthor Commented:
And that is going to put the text of the cell in a label.text or textbox.text.?
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
surajgupthaCommented:
If that label is also a part of the grid. Yes
0
 
bergertimeAuthor Commented:
I guess my question wasn't clear.....the label or textbox (the control) is not part of the grid.  I want the user to be able to click on a cell in a datagrid and whatever is in that cell will populate a control outside the datagrid.
0
 
bergertimeAuthor Commented:
Thanks
0
All Courses

From novice to tech pro — start learning today.