自动刷新asp.net中的数据 [英] autorefreshing the data in asp.net

查看:77
本文介绍了自动刷新asp.net中的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须自动刷新我的网页上的数据.我不想刷新我的整个页面.我只想刷新页面上的数据.
在这里,我只有aspx页面,没有cs页面以及aspx页面.表示我正在通过查询&从数据库中获取值.我需要在aspx页面上的Response.Write()中显示它,无论它需要显示在哪里.
如果我使用带时间段的计时器,则整个页面都会刷新.如果我将更新面板与计时器一起使用,则页面会刷新,但不会刷新数据.

任何人都可以准确知道问题出在哪里吗?我将非常感谢您的答复.


- 阿舒托什·潘迪(Ashutosh Pandey) 软件开发人员

I have to refresh my data on my web page automatically. I doesn't want to refresh my whole page. I just want to refresh only the data on the page.
In this i have only aspx page not the cs page along with aspx page. Means i am fetching the value from the databse through the query & I am showing by Response.Write() on the aspx page wherever it needs to be shown.
If i use timer with time period then whole page refreshes. If i use update panel with timer then page is refreshed but not the data.
 
Can anyone tell where is the problem exactly?I would be very thankful for the reply.


-- Ashutosh Pandey Software Developer

推荐答案

首页


这篇关于自动刷新asp.net中的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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