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 OriginalGriff 322
1 Nirav Prabtani 268
2 _Amy 170
3 Mika Wendelius 165
4 Richard Deeming 155
0 Nirav Prabtani 265
1 OriginalGriff 177
2 _Amy 170
3 Mehdi Gholam 105
4 Maciej Los 90


Advertise | Privacy | Mobile
Web03 | 2.8.140721.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