哪个控件可用于显示数据库中页面的内容 [英] which control can be used to display content of a page from database

查看:78
本文介绍了哪个控件可用于显示数据库中页面的内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

哪个控件可用于显示数据库中页面的内容。



我想动态更改页面内容。如果我们更改特定页面的内容,则从管理面板表示它应该显示在该页面上。

如果我先将内容存储在数据库中然后显示它,那么对于那个控制。

which control can be used to display content of a page from database.

i want to change the content of a page dynamically. means from admin panel if we change the content of a particular page ,it should be displayed on that page.
for that if i store content first in database and then display it,so for that which
control should be used.

推荐答案

你应该去 UpdatePanel控件 [ ^ ]以便您可以在特定时间段刷新内容。

You should go for UpdatePanel control[^] so that you can refresh the contents at specific time period.


ASP.NET UpdatePanel控件使您能够构建丰富的,以客户端为中心的Web应用程序。通过使用UpdatePanel控件,您可以刷新页面的选定部分,而不是使用回发刷新整个页面。这被称为执行部分页面更新。包含ScriptManager控件和一个或多个UpdatePanel控件的Web页面可以自动参与部分页面更新,而无需自定义客户端脚本。


ASP.NET UpdatePanel controls enable you to build rich, client-centric Web applications. By using UpdatePanel controls, you can refresh selected parts of the page instead of refreshing the whole page with a postback. This is referred to as performing a partial-page update. A Web page that contains a ScriptManager control and one or more UpdatePanel controls can automatically participate in partial-page updates, without custom client script.



查看下面的一些文章和示例来理解这些概念。

1. UpdatePanel控件简介 [ ^ ]。

2. UpdatePanel控件概述 [ ^ ]。

3. 了解ASP.NET AJAX UpdatePanel触发器 [ ^ ]。



和是谷歌搜索 [ ^ ]会给你很多结果,你可以考虑。



谢谢......


Look at some articles and examples below to understand the concepts.
1. Introduction to the UpdatePanel Control[^].
2. UpdatePanel Control Overview[^].
3. Understanding ASP.NET AJAX UpdatePanel Triggers[^].

And yes Googling[^] will give you many results, which you can consider.

Thanks...


这篇关于哪个控件可用于显示数据库中页面的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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