Avatar of ravi_computer
ravi_computer
Flag for India asked on

Sort gridview column data in descending order

I have a gridiview on a page which populates data from a data source. It has a date column in it.While populating the data itself, I want the data in the gridview to be sorted in the descending order of date.Please let me know is it possible?


ASP.NET

Avatar of undefined
Last Comment
ravi_computer

8/22/2022 - Mon
QPR

can you not specify this in your datasource?

select stuff, datefield
from myTable
order by datefield desc
ASKER CERTIFIED SOLUTION
Nirmalan Nagenthiran

THIS SOLUTION 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
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ravi_computer

ASKER
nothing
ravi_computer

ASKER
nothing
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
ravi_computer

ASKER
nothing more