Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
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 15-Jan-13 22:41pm
Comments
Gittu Dash at 16-Jan-13 4:44am
   
You can easily achieve it using Sql Queries.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 480
1 Gihan Liyanage 235
2 Bhavik_Patel 170
3 PhilLenoir 155
4 OriginalGriff 154
0 Sergey Alexandrovich Kryukov 8,653
1 OriginalGriff 7,132
2 CPallini 2,598
3 Richard MacCutchan 2,060
4 Abhinav S 1,808


Advertise | Privacy | Mobile
Web01 | 2.8.140827.1 | Last Updated 16 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100