我可以在没有更新面板和刷新的情况下将数据绑定到Gridview吗? [英] can i bind data to a gridview without update panel and without refresh.

查看:83
本文介绍了我可以在没有更新面板和刷新的情况下将数据绑定到Gridview吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题是,我们可以在没有更新面板和刷新的情况下将数据绑定到gridview.有什么办法可以使用json吗?请注意,我只需要gridview

my question is that is we can bind data to gridview without update panel and without refresh. is there any way that i can use json. please note that i want only gridview

推荐答案



如果要将最新数据绑定到gridview中,则必须使用updatepanel刷新数据.我认为没有其他选择.
Hi,

if you want to bind the latest data into gridview then updatepanel must be required to refresh data. I think there is no alternative for that.


您可以绑定数据.但是页面需要重绘以显示数据.为此,您需要更新面板或重新绘制页面区域或页面的任何内容.了解页面生命周期,以了解背后的事实.

http://msdn.microsoft.com/en-us/library/ms178472.aspx [ ^ ]

http://www.codeguru.com/csharp/.net/net_asp/article.php/c19393 [ ^ ]
You can bind data. but page need to redraw to show the data. for that purpose you need update panel or anything that redraw page area or page. learn about page life cycle as to understand the behind truth.

http://msdn.microsoft.com/en-us/library/ms178472.aspx[^]

http://www.codeguru.com/csharp/.net/net_asp/article.php/c19393[^]


我需要它,因为这有点慢,如果我以这种方式使用json,速度很快,但会浪费开发时间
i need that because this is somewhat slow and if i use json in that way it is fast but consume lost time to develop


这篇关于我可以在没有更新面板和刷新的情况下将数据绑定到Gridview吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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