Your Query should be like this:
String strCrit = // The Value you as A B C D .... Z based on the alphabet pressed &
'%'
Select * from Employee where LastName Like strCrit;
This will fetch all rows starting with the Alphabet 'A......' say if strCrit is 'A%'
Regds
Murugan K Patham
480 - 990 4200 Ext 2712
>>> [EMAIL PROTECTED] 02/27 10:31 AM >>>
Hi, I want to have links called A B C D ....Z, and whenever the user click
in one of them, all the rows that has employee last name start with this
alphapet or greater get selected.
Thanks
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets