TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
nitin yadav
NA
136
0
Multiple Column sorting in GridView
Nov 7 2012 12:58 AM
Hi,
I want to do multiple column sorting in Gridview using C#. Suppose if we have sort column A of table in desc order then after i need to sort column B then i want the order of column A will not be changed, it remains the same.
A
B
1
2
2
1
if i sort Col A in descending order then result will be
A
B
2
2
1
1
but when i sort col B in ascending order i want the result like
A
B
2
1
1
2
if you can see col A remains the same after col B sorting. Thanks
Regards
Nitin Yadav
Reply
Answers (
1
)
How to bind data from the table into datagridview comboboxcolumn in C# windows form application
Relations multiple table using in C#