Select Data from DataGrid vb.net

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sharon

    #1

    Select Data from DataGrid vb.net

    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.

  • Cor Ligthert [MVP]

    #2
    Re: Select Data from DataGrid vb.net

    Sharon,

    Windows Forms or Web datagrid?

    Cor

    "Sharon" <sharonrao123@y ahoo.com.auschr eef in bericht
    news:1164160524 .566161.191490@ h48g2000cwc.goo glegroups.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.
    >

    Comment

    Working...