使用vb.net实时动态用户表单 [英] real time Dynamic userform using vb.net

查看:80
本文介绍了使用vb.net实时动态用户表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用vb.net创建实时应用程序?

我的意思是应用程序有一些数据,如果服务器中的数据库有任何变化,数据应立即更新在应用程序中。

无论如何都是这样做的吗?

还可以在VB.Net中使用AJAX吗?

解决方案
确定。 Google for SQL Server通知(SQL Server 2008 R2之前版本)或SQL Server StreamInsight。



使用Ajax执行此操作效率不高,因为Ajax无法坐在那里听用于通知。它必须轮询服务器以进行任何更改。随着客户端数量的增加,这会增加服务器上的负载。



您可以使用SignalR执行此操作。谷歌也是这样。


is it possible to create a real time application using vb.net?
I mean the application has some data and if there is any changes in the DB in the server the data should be updated immediately in the application.
is there anyway of doing it?
Also Is it possible to use AJAX in VB.Net?

解决方案

Sure. Google for SQL Server Notifications (pre SQL Server 2008 R2) or SQL Server StreamInsight.

Using Ajax to do this wouldn't be efficient because Ajax cannot sit there and listen for notifications. It has to poll the server for any changes. This increases the load on the server as the number of clients increases.

You could use SignalR to do this though. Google for that too.


这篇关于使用vb.net实时动态用户表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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