I am using a windows(not the web control)datagrid control. I want to use the selected row, but do not find a selectedindex property. How will I go about using/processingdata in a selected row. This is very straight forward with the web control. Am I missing something? thanks in advanced
cbeasle1 Thursday, September 28, 2006 5:58 PM
Ok, I found currentrowindex property, but seems to always be 0. I am testing it in a double click event. I am looking to double click the grid and grab a row and display it in a editing area.
cbeasle1 Thursday, September 28, 2006 6:45 PM
Solution is to use the dg.currentcell.rownumber.
cbeasle1 Thursday, September 28, 2006 7:05 PM
I am facing same problem.
Ihave code like this
DataGrid datagridObject;
datagridObject.rows[0].select();
but it is giving me exception
Please tell me how toselect row.Or any other way to selectthe row.