如何实时更新Gridview [英] How Do I Update Gridview in Real time

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

问题描述



有人可以在gridview中为我提供实时更新的.net开发代码吗?



我有一个gridview in我的网络形式。如果我将fileupload中的文件上传到sqlserver,我的gridview来自另一台计算机或其他浏览器,那么我当前的浏览器将自动刷新更改。我不需要点击手动刷新按钮或F5来查看我的gridview中的更改。



谢谢。

Hi,
Can someone suggest me some .net development code for Real time updates in gridview?

I have one gridview in my webform. If i upload file in fileupload to sqlserver, my gridview from another computer or another browser then my current browser will automatically refresh with the changes. I don't need click manuallly refresh button or F5 to see the changes in my gridview.

thanks.

推荐答案

您可以使用Timer在特定时间段刷新griview .. :)



C#Timer [ ^ ]



使用SqlCacheDependency和Toolkit的Timer自动刷新GridView。 [ ^ ]



德尔使用ASP.Net中的计时器控件加载(延迟加载)UpdatePanel [ ^ ]



使用计时器自动刷新Asp.Net Ajax中的GridView [ ^ ]



如何定期自动刷新ASP.NET GridView [ ^ ]
you can use Timer to refresh griview at specific time period.. :)

C# Timer[^]

Auto Refresh GridView using SqlCacheDependency and Toolkit’s Timer.[^]

Delay Load (Lazy Load) UpdatePanel using Timer Control in ASP.Net[^]

Auto Refresh Update GridView In Asp.Net Ajax With Timer[^]

How to refresh an ASP.NET GridView automatically at regular intervals[^]


检查这些:

1. ASP.NET MVC,SignalR和基于Knockout的实时UI同步 - 用于共同工作的UI和连续客户端 [ ^ ] [ ^ ]

3. 浏览器提醒ASP.NET 4.5和SignalR [ ^ ]
Check these out:
1. ASP.NET MVC, SignalR, and Knockout based real time UI syncing - For co-working UIs and continuous clients[^]
2. Real time notifications with SignalR & KnockOutJS[^]
3. Browser Alerts with ASP.NET 4.5 and SignalR[^]


这篇关于如何实时更新Gridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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