Click here to Skip to main content
15,879,326 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to retrieve particular record from a database?

I'm developing a tool for searching records for a keyword and for displaying number of record. I'm using List control and for display the particular record and related information I'm using list box.

Whenever I execute I get the first record displayed in list box rather I want that when I click on particular record I should get the related information on screen.

Please help me out..............
Posted
Updated 12-Apr-11 23:29pm
v2
Comments
Henry Minute 13-Apr-11 5:32am    
You will need to edit your question to show the code you are currently using, if you want someone to point out where you are going wrong.

If you do that, only post relevant code and remember to put it between <pre> tags.

1 solution

If you are using SQL server .You can simply use "selct" command like select * from [table name] where emp_name like a%.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900