Link to home
Start Free TrialLog in
Avatar of nandithaa
nandithaaFlag for India

asked on

DataGrid Sort

I have a datagrid with many rows. Need to sort all the rows of the grid except the first row. I'm using the Sort method of the datagrid.

How to sort all the rows of the datagrid except the first row?
Please help me....
Thanks in advance
dgvReport.Sort(dgvReport.Columns[2], ListSortDirection.Ascending);

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of evidica
evidica
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nandithaa

ASKER

Thanks a lot it worked