怎样才能每隔一分钟取一次数据库中的数据?实现页面动态刷新。
数据库中的数据是动态变化的,我想从页面每隔一分钟动态连接一次数据库,然后让页面动态刷新,怎么样才能实现啊,谢谢Web.config中的连接字符串如下,
<appSettings>
<add key="strConnection" value="server=localhost;uid=zr;pwd=zr;database=dfxt" />
</appSettings>
页面中的连接是
private string strDSN=ConfigurationSettings.AppSettings["strConnection"];
SqlConnection conn =new SqlConnection(strDSN);
conn.Open();
希望大家帮忙啊,谢谢

