how to cover only the selected lines in a DataGrid

  • Thread starter Thread starter thomaz
  • Start date Start date
T

thomaz

Hi again...

There is a DataGrid method or any way (like Foreach) to
cover only the 10 or 20 selected lines in a DataGrid with
3000 lines???

Thanks....
 
Hi,

There's a public method named IsSelected which accepts a row number and
returns a boolean.

bool isSelected = theGrid.IsSelected(rowNum);
 
Back
Top