how to cover only the selected lines in a DataGrid

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....
 
D

Dmitriy Lapshin [C# / .NET MVP]

Hi,

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

bool isSelected = theGrid.IsSelected(rowNum);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top