DataGrid Retrieval?

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

    #1

    DataGrid Retrieval?

    Hi,

    I have a datagrid filled by some rows from the db. When I click a particular
    row in the datagrid I should able to insert the selected rows value to a
    DataRow / Array. Is there anyway of doing this?

    thanks in advance,
    SP.Murugesan.


  • Bussiron F.

    #2
    DataGrid Retrieval?

    the DataRow: YourDataGrid.It em[row]
    the selected index of the row is:
    YourDataGrid.Se lectedIndex

    you can also do a foreach with this:
    YourDataGrid.It em[row].Cells[column]

    [color=blue]
    >-----Original Message-----
    >Hi,
    >
    >I have a datagrid filled by some rows from the db. When I[/color]
    click a particular[color=blue]
    >row in the datagrid I should able to insert the selected[/color]
    rows value to a[color=blue]
    >DataRow / Array. Is there anyway of doing this?
    >
    >thanks in advance,
    >SP.Murugesan .
    >
    >
    >.
    >[/color]

    Comment

    Working...