The selected row is return by the .Row property...
but it is the row number, not the DataRow. To get the DataRow, do something like
this,
dgdTariformList.Item(dgdTariformList.Row)
The returned object is normally the
DataViewRow of the DataSource. If you are using a DataTable, then normally it is
DataViewRow, if you are using C1DataTableExpress, it will be SimpleTableViewRow.
Anyway to check the real object returned, you can try the TypeOf() method or try
debuging the code.
Hope this help.
Hi,
I am Jeneesh. I am at first time for using this componentOne.
i also
have this same problem for identifying the selected rows on C1TrueDBGrid.
I tried much ways....like
dgdTariformList.SelectedStyle.BackColor =
Color.DodgerBlue
dgdTariformList.SelectedStyle.BackColor2 =
Color.DodgerBlue
How can i solve this...
Plz help me.............. Thanks in
advance......
My id : jeneeshijk@yahoo.com or
you can contact me on
jeneesh.kv@eteamindia.com..
http://helpcentral.componentone.com/cs/forums/p/73708/200084.aspx#200084