Solved

dataset table sort in asp.net

Posted on 2008-10-08
2
680 Views
Last Modified: 2008-11-14
Hi Expert,

I have a  DataSet with a table that has data in it.

 ds.Tables("Customers")

I used storeprocedure to populate table, how I can sort table by a variable? for example, I have first name, last name field.

Thanks in advance.
0
Comment
Question by:dshi15
2 Comments
 
LVL 2

Accepted Solution

by:
Kimpzor earned 250 total points
ID: 22672811
Here is a very good solution to your problem

http://www.4guysfromrolla.com/webtech/010704-1.shtml
0
 
LVL 15

Assisted Solution

by:Praveen Venu
Praveen Venu earned 250 total points
ID: 22948125
ds.Tables("Customers") .DefaultView.Sort ="firstname"
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Error in JQuery 5 52
ASP.net Javascript use multiple sliders 2 29
Reset asp.net login password 4 42
ASP.net Show "please wait " message as page loads 2 41
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question