Avatar of 123456789y
123456789y

asked on 

Sorting in Datagrid

Hi,
I am working in asp.net in vb language as front end.
I am binding Gridview with sqlserver database.
My requirment is sorting, i.e. for eg. header is date and Name
If i click on header text name it should be in ascending order and next time if i click it should be in descending order
Same should happen for date

please help with some reasonable solution
Thank you

.NET Programming

Avatar of undefined
Last Comment
Dirk Haest
ASKER CERTIFIED SOLUTION
Avatar of Dirk Haest
Dirk Haest
Flag of Belgium image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
.NET Programming
.NET Programming

The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.

137K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo