在asp.net网页中搜索详细信息 [英] search details in asp.net web page

查看:89
本文介绍了在asp.net网页中搜索详细信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个网页,其中包含所有员工详细信息和数据库中的员工表

现在,我必须在列表屏幕上搜索员工并查看员工列表。员工可以根据员工编号,员工姓名,员工姓氏进行搜索,

出生日期和指定

我能做什么?

解决方案

http://stackoverflow.com/questions/ 12433304 / live-search-through-table-rows [ ^ ]

http://blogs.digitss.com/javascript/jquery-javascript/implementing-quick-table-search-using-jquery-filter/ [ ^ ]



如何使用C#中的SQL语句填充DataGridView,GridView [ ^ ]






您可以通过使用jQuery调用它们来帮助Web方法。



步骤: -



步骤1: - 编写一个存储过程,根据需要为您提供记录。



步骤2: - 编写ADO.Net代码调用存储过程。



步骤3: - 在您的代码后面写一个Web方法作为静态,它将调用DAL方法来获得结果。



步骤4: - 从您的网络方式以JSON格式发送结果。



第5步: - 调用此网页当您输入员工详细信息时,来自jQuery的方法。



请访问链接: -



http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/ [< a href =http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/\"target =_ blanktitle =New Window> ^ ] < br $> b $ b



使用jQuery调用ASP.Net WebMethods [ ^ ]





谢谢


< blockquote> http://msdn.microsoft.com/en-us/expression/dd571513.aspx [ ^ ]


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?

解决方案

http://stackoverflow.com/questions/12433304/live-search-through-table-rows[^]
http://blogs.digitss.com/javascript/jquery-javascript/implementing-quick-table-search-using-jquery-filter/[^]

How to populate DataGridView, GridView with SQL statement in C#[^]


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


http://msdn.microsoft.com/en-us/expression/dd571513.aspx[^]


这篇关于在asp.net网页中搜索详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆