Select All Grid Rows Programatically
What is the best way to programatically select all rows in a .NET data grid?
0
-
Official comment
Dear Tom,
The best way to select rows in the grid is to iterate them in the 'foreach' statement:
foreach (Row row in grid.Rows)
{
row.Selected = true;
}Best regards,
Dapfor
Please sign in to leave a comment.
Comments
1 comment