On selectedindexchanged - i want to get the selected row and each column values and assign them to labels.
I can get the value of one of the column's of the selected row: rgMain.SelectedItems[0].OwnerTableView.DataKeyValues[rgMain.SelectedItems[0].ItemIndex]["id"];
I need to get all the column values for the selected row.
Isn't there a way to get the values based on rgMain.SelectedItems[0].ItemIndex and the column names?
So if i have 3 columns: id, name, desc
I want to get the values of name and desc using the selectedrow on selectedindexchanged
I can get the value of one of the column's of the selected row: rgMain.SelectedItems[0].OwnerTableView.DataKeyValues[rgMain.SelectedItems[0].ItemIndex]["id"];
I need to get all the column values for the selected row.
Isn't there a way to get the values based on rgMain.SelectedItems[0].ItemIndex and the column names?
So if i have 3 columns: id, name, desc
I want to get the values of name and desc using the selectedrow on selectedindexchanged