RSS Forums RSS
Please support our C# advertiser: Programming Forums
Views: 8642 | Replies: 1
Reply
Join Date: Jul 2005
Posts: 38
Reputation: c#dummie is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 1
c#dummie c#dummie is offline Offline
Light Poster

sort information in a listbox by name

  #1  
Jul 20th, 2005
how do i sort information in a listbox by name (that is, alphabetical order)? im doing c# programming n using microsoft visual studio .net 2003.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2003
Location: Canada
Posts: 786
Reputation: Paladine has a spectacular aura about Paladine has a spectacular aura about Paladine has a spectacular aura about 
Rep Power: 9
Solved Threads: 25
Colleague
Paladine's Avatar
Paladine Paladine is offline Offline
Master Poster

Re: sort information in a listbox by name

  #2  
Jul 21st, 2005
If you are using a SELECT statement, which I would assume you are, just add an ORDER BY clause to that statement and voila.
Assistant Manager, Regional Pharmacy Information Systems
TLC Services Website (Under Construction)
Updated : ASP.Net Login Code
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 10:34 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC