blah blah blah is here! blah blah » Close
hi this is harish in my page iam using datagrid,how to get rowindex of selected row of datagridcan any body know sol ,please help me
Unless I'm missing something here, it's just:int rowIndex = DataGrid1.SelectIndex;If rowIndex is -1, then no row is selected.
answered 2 years ago by:
Sorry, that should have been:int rowIndex = DataGrid1.Select<b>ed</b>Index;
tahnk you for giving this response
for every row it gives only rowindex=-1,
This post was imported from csharpfriends, if you have a similiar question please ask it again.
All previous members have been migrated, hope you enjoy the new platform!
Got feedack? Found a bug? report it here.
1 answers
Unless I'm missing something here, it's just:
int rowIndex = DataGrid1.SelectIndex;
If rowIndex is -1, then no row is selected.
answered 2 years ago by:
17279
Sorry, that should have been:
int rowIndex = DataGrid1.Select<b>ed</b>Index;
answered 2 years ago by:
17279
tahnk you for giving this response
answered 2 years ago by:
0
for every row it gives only rowindex=-1,
answered 2 years ago by:
0
This post was imported from csharpfriends, if you have a similiar question please ask it again.
All previous members have been migrated, hope you enjoy the new platform!