I could do this myself given time but does anyone have a nice asp.net implementation of an a-z list coming from a sql query. I would like it to come in the form:
A
aardvark
anagram
apple
B
barry
brown….
That is with each entry being a link.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Whatever your sql is, just add
Upper(Substring([myfield],1,1)) AS Letterto the select list. Then it’s just a matter of showing the letter when it changes.Unfortunately, that may be easier said than done. ASP.Net doesn’t have very good built-in support for control/break style output.