Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created a web page with all employee details with employee table in database
now, i have to List screen to search Employee and view list of Employee. Employee can be search based on Employee No., Employee First Name, Employee Last Name,
Date of Birth and Designation
Hw can i do tht?
Posted
Comments
P_Dash 16-Jan-13 4:44am    
You can easily achieve it using Sql Queries.

Hi,

You can do this with the help of Web Methods by calling them with jQuery.

Steps:-

Step 1:- Write a stored procedure which will give you records according your needs.

Step 2:- Write ADO.Net Code to call the Stored Procedure.

Step 3:- Write a Web Method in your code behind file as static which will call DAL method to get results.

Step 4:- Send the results in JSON format from your web method.

Step 5:- Call this web method from jQuery when you type employee details.

Please visit links:-

http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/[^]


Calling ASP.Net WebMethods using jQuery[^]


Thanks
 
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