如何根据sql列设置警报 [英] how to set alert based on sql column

查看:64
本文介绍了如何根据sql列设置警报的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows窗体和c#中有一个简单的应用程序。用户在系统中设置了一些后续日期,这些日期存储在sql数据库列中,datatyle是datetime。现在在fature用户lofin应用程序他/她将基于那些flooow更新日期看到aleart表单,现在我用例子解释今天用户设置跟进日期为12-Sep = 2015,现在当用户登录12日sep an aleart表单显示所有具有相同日期的记录。

i have a simple application in windows form and c# . user set some follow up date in system those date are store in sql database column datatyle is datetime. now in fature user lofin the application he/she will see a aleart form on based on those flooow up date, now i explain with example today user set a follow up date as 12-Sep=2015,now when user login on 12th sep an aleart form show all the record which are having same date.

推荐答案

- 查询警报数据库表以获取提醒日期为12-9-2015的记录

- 在其中创建一个包含数据网格的表单并将其放在一个对话框中

-使用第一步中的数据绑定数据网格
-Query your alert db table for records with alert date 12-9-2015
-Create an form with a datagrid in it and place it in an dialog
-Bind the datagrid with the data from the first step


这篇关于如何根据sql列设置警报的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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