DataGrid Retrieval?

  • Thread starter Supramanian Murugesan
  • Start date
S

Supramanian Murugesan

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.
 
B

Bussiron F.

the DataRow: YourDataGrid.Item[row]
the selected index of the row is:
YourDataGrid.SelectedIndex

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top