Hey guys
I have a listbox contianing strings which ahs been populated from a databsae via "SELECT * FROM researchers"
i.e
John Doe www.johndoe.com
David Allen www.daveallen.com
Andrew Rodgers www.andrewdavidson.com
..
I need this to be displayed as
David Allen www.daveallen.com
John Doe www.johndoe.com
Andrew Rodgers www.andrewdavidson.com
i.e alphabetically by surname?
How do I do this?SELECT * FROM researchers ORDER BY LastName ASC
Friday, March 16, 2012
populating a list box by alphabetical surname
Labels:
ahs,
alphabetical,
asp,
box,
comdavid,
contianing,
databsae,
doe,
ejohn,
guysi,
johndoe,
listbox,
net,
populated,
populating,
researchers,
select,
strings,
surname,
via
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment