Asp.NET DataGrid SelectedRow
Posted: Wed 22 Sep 2010 01:00
Hi everybody.
I used an OracleDataSource for read data and populate a grid. Now, when I am in the code behind called when a selection change in the grid (AutoGenerateSelectButton to true), I have the SelectedValue correct (key column of my table), but I don't have the SelectedRow valid. It is always an empty SelectedRow (not null, but empty).
So, how can I know the value of a column that isn't the primary key?
Could be this a limit of the "Direct mode"?
I have the DotConnect 5.70.152 and using .NET framework 4
Thank you in advance
I used an OracleDataSource for read data and populate a grid. Now, when I am in the code behind called when a selection change in the grid (AutoGenerateSelectButton to true), I have the SelectedValue correct (key column of my table), but I don't have the SelectedRow valid. It is always an empty SelectedRow (not null, but empty).
So, how can I know the value of a column that isn't the primary key?
Could be this a limit of the "Direct mode"?
I have the DotConnect 5.70.152 and using .NET framework 4
Thank you in advance