I have a page that displays a gridview
on load. I want to have alphabets A-z
on that page to sort my data in the gridview.
If the user selects A, I want only last name
starting with A to show. Same thing for B-Z
1. How can i display my A-Z in html
i am thinking i should be able to have one
method that will accept an alphabet parameter
and use that to query the database
2.can u give me an idea of what my query will
look like using sql. I guess i have to query last name
that has first character of the alphabet.
Thanks.
Start Free Trial