views:

18

answers:

1

Hi All,

I dragged an Entity Data Source on to my asp.net web page and a gridview. How exactly do I sort my gridview by default on a column (and descending order)? I've tried a lot of things with no luck.

Thanks,

rod.

A: 

You can check the Sort method of the GridView.

korchev