Home All Groups Group Topic Archive Search About

Select Data from DataGrid vb.net

Author
22 Nov 2006 1:55 AM
Sharon
hello Everyone,

Is it possible to select data from the datagrid, i have a populated
datagrid with three columns FirstName, LastName, Email. When the user
selects one row i want the values of the selected row to be copied into
a text box ie firstname copied to textbox1, lastname copied into
textbox2, email copied into textbox3.

I am not sure how to achieve this, could someone through some light on
how to go about this.

Thanks in advance, Shilpa.

Author
22 Nov 2006 5:17 AM
Cor Ligthert [MVP]
Sharon,

Windows Forms or Web datagrid?

Cor

Show quoteHide quote
"Sharon" <sharonrao***@yahoo.com.au> schreef in bericht
news:1164160524.566161.191490@h48g2000cwc.googlegroups.com...
> hello Everyone,
>
> Is it possible to select data from the datagrid, i have a populated
> datagrid with three columns FirstName, LastName, Email. When the user
> selects one row i want the values of the selected row to be copied into
> a text box ie firstname copied to textbox1, lastname copied into
> textbox2, email copied into textbox3.
>
> I am not sure how to achieve this, could someone through some light on
> how to go about this.
>
> Thanks in advance, Shilpa.
>