从数据库中获取数据 [英] Fetching Data from Database

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

问题描述

当添加特定记录或在数据库上触发特定事件时,我想显示一条消息,其中包含来自sqlserver数据库的某些数据.

是否可以在不使用计时器控制的情况下这样做.

请帮忙.

I want to display a message with some data from sqlserver database, when a specific record is added or a specific event is fired on database.

Is it possible to do so without using timer control.

please help.

推荐答案

计时器不是控件,您可以使用javascript编写计时器.不,没有计时器,您将无法使网站刷新或在没有输入的情况下进行AJAX调用.如果您编写代码或使用第三方库,则为true.如果您不了解,那么您将不了解网络的工作原理.
A timer is not a control, you can just write a timer in javascript. No, without a timer, you cannot make a website refresh itself, or make an AJAX call without input. This is true if you write the code, or use a third party library. If you don''t know that, then you don''t understand how the web works.


使用可以用户使用的SQL触发器
SQL触发器 [ ^ ]
Use can user SQL triggers

SQL Triggers[^]


我同意使用网络ajax.触发性能不高.
i agree to use web ajax.trigger performance is not high.


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

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