troubleshooting Question

Sort Gridview columns in C#

Avatar of RadhaKrishnaKiJaya
RadhaKrishnaKiJaya asked on
ASP.NET.NET ProgrammingC#
16 Comments1 Solution400 ViewsLast Modified:
Hello Experts,
I am trying to sort few columns in a Gridview.  All the Alpha columns working as expected.  But, I have a numeric column (Serial Number) not working as expected.  Please see below and let me know how to fix it.

Thank you very much in advance.

Serial Number (when page loaded)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

Serial Number (when sorted)
1
10
11
12
13
14
15
2
3
4
5
6
7
8
9
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 16 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 16 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros