By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,673 Members | 1,268 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,673 IT Pros & Developers. It's quick & easy.

DataGrid Retrieval?

P: n/a
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.
Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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]

-----Original Message-----
Hi,

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

thanks in advance,
SP.Murugesan.
.

Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.