Advertisement

06.03.2008 at 06:53PM PDT, ID: 23455336
[x]
Attachment Details

Alphabetic search using asp.net c#

Asked by Sirdots in Programming for ASP.NET, MS SQL Server, C# Programming Language

Tags: Asp.net c#

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
[+][-]06.03.2008 at 07:21PM PDT, ID: 21706222

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.03.2008 at 07:53PM PDT, ID: 21706442

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Programming for ASP.NET, MS SQL Server, C# Programming Language
Tags: Asp.net c#
Sign Up Now!
Solution Provided By: ysfx
Participating Experts: 2
Solution Grade: A
 
 
[+][-]06.05.2008 at 09:11AM PDT, ID: 21721148

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628