hi

can anyone explain how to create ascending order datatable in asp.net without sorting method


regards
suresh.S

Are you pulling data from database ?

Hi,

A string containing the column name followed by "ASC"(ascending) or "DESC"(descending) will change the datatable order.
The columns are sorted ascending by default.

No i am getting data from another datatable .

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.