数据插入表时从Sql Server数据库获取通知 [英] Get notification from Sql Server database when data insert into table

查看:97
本文介绍了数据插入表时从Sql Server数据库获取通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在.NET项目中工作。现在,当每位员工打出身份证并保存到出勤表时,即当表格发生变化时,我会在屏幕上显示通知(员工的基本信息和图像)。数据已保存在表格中,但我无法显示。通知数据将在使用C#的WIndows表单应用程序或WPF中显示。请帮我

解决方案
从这里开始:的使用的SqlDependency和的SqlCacheDependency [ ^ ]


Hi, i am working in a .NET project. Now i will show the notification(Employees basic information with image) into the screen when every employee punch their id card and save to the attendance table i.e when change in table. Data already save in table but i will could not show this. Notification data will show in WIndows forms application or WPF using C#. Please help me

解决方案

Start here: Query Notification using SqlDependency and SqlCacheDependency[^]


这篇关于数据插入表时从Sql Server数据库获取通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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