通知会弹出数据库中的新记录。 [英] Notification pop up for new records in database.

查看:111
本文介绍了通知会弹出数据库中的新记录。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当新记录插入数据库时​​,

ASP.net通知会在屏幕上弹出新记录。

解决方案

immediate-get-pop-up-after-record-inserted.aspx [ ^ ]



数据库通知-insertion-in-asp-net [ ^ ]



查看links.hope它会对你有所帮助


其中一个最好的选择是使用SignalR和SQLDependency。启用S​​QLDependency,它将在插入新记录时通知服务器,然后使用不会访问客户端的SignalR。有关详细信息,请查看以下链接



SQLDependency http://techbrij.com/database-change-notifications-asp-net-signalr-sqld [ ^ ]



http://stackoverflow.com/questions/9880155/using-signalr-with-sqldependency-to-push-database-updates [ ^ ]

<脚本> var old_count = 0; 
var i = 0;
setInterval(function(){


ASP.net Notification pop up for new records on Screen when new record insert in database .

解决方案

immediately-get-pop-up-after-record-inserted.aspx[^]

notification-on-database-insertion-in-asp-net[^]

Check the links.hope it will help you


One of the best options would be to use SignalR and SQLDependency. Enable SQLDependency which will notify to the server whenever a new record get inserted and then use SignalR that will notfy to the client. For details look to the below links

SQLDependency http://techbrij.com/database-change-notifications-asp-net-signalr-sqld[^]

http://stackoverflow.com/questions/9880155/using-signalr-with-sqldependency-to-push-database-updates[^]


<script> var old_count = 0;
var i = 0;
setInterval(function(){


这篇关于通知会弹出数据库中的新记录。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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