Gridview值更改时没有参考页面 [英] Gridview values changes with out referece page

查看:69
本文介绍了Gridview值更改时没有参考页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尊敬的会员
代码项目
我有一个问题.在我的数据库中有100多个记录,我想在gridview上显示这些记录,每页10条记录意味着具有分页功能.
我想搜索有关文本框值更改的记录.
我想使用网格视图显示所有过滤器记录,并更改文本框值,但页面无法刷新.
没有防火页面gridview的方法将显示所有具有文本框更改的值.

谢谢.

Dear Member
Code Project
I have a problem.In my data base there are more than 100 record and i want to display these record on gridview with 10 record per page means with paging.
i want to search these record with respect to text box values changes.
i want to gridview show all filter record with change of text box values but page does not refresh.
Means with out fire page gridview show all values with text box changes.

Thank You.

推荐答案

我假设您正在使用ASP.net anc C#,要进行搜索而无需回发吗?
对于这个地方,您的gridview和textbok放在ajaxtoolkit的updatepanel中

对于分页,可以通过将AllowPaging设置为true和PageSize = 10来使用gridview的自动分页,或者可以使用存储过程进行分页
I am assuming you''re using ASP.net anc C#,You want to search without Postback??
For this place your gridview and textbok inside updatepanel of ajaxtoolkit

and for paging you can use automatic paging of gridview by setting AllowPaging to true and PageSize=10 or you can do paging with storedprocedure


这篇关于Gridview值更改时没有参考页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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