简体   繁体   中英

Control label in other page in asp.net using C#

i want ask about control label or link

i have label in home page and I want change this label content from admin page

how to control and change it?

如果您需要某种内容管理系统,请尝试将此标签保存在某些数据源(xml或数据库)中,然后在需要时使用它。

More details would be good. You want to be able to have an admin page where you have an input form that allows you to set content on the home page? If so, there are a few ways to do that. One way is to use a database to store the content, and then load from database on the home page. Another way is to store data in the HttpContext object, this however is not persistent.

您将需要显示来自某种动态源的文本,例如数据库,xml文件,平面文件等。在管理页面中,您将写入该数据源并将该源的文本加载为好。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM