-
January 25th, 2012, 06:01 AM
#1
Sort Datagrid in Windows appl
Hi ALL,
I need to sort the order of the columns of Datagrid in my windowns appln. here goes my code
gridData.Sort(gridData.Columns["ColName1"], ListSortDirection.Descending);
when the above code is executed I get the following error "DataGridView control must be bound to an
IBindingList object ", What is IBindingList and how would i go about using it or is there any other way to do the same.
Kindly Suggest, Thanks in Advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|