页面说明有问题 [英] having problem in page description

查看:52
本文介绍了页面说明有问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友..

例如:

我每个都有三个名为pg1,pg2,pg3的页面,我有一个文本框,我想使用管理页面中的页面描述来更新文本框详细信息.

请帮助我.

在此先感谢您.

Hello Friends..

For example:

I am having three pages named pg1,pg2,pg3 in each, I am having text box in i want to update textbox detail using page description from admin page.

Please help me in this.

Thanks in Advance.

推荐答案

让我猜猜您有什么和想要做的事情:

这就是您的Web应用程序中的内容
1)管理员部分-此部分用于管理员操作.

2)客户端部分-在此部分中,您拥有用于Web应用程序客户端的网页(即pg1,pg2和pg3).

这就是您要尝试的
1)管理部分-您有一个页面,您可以在其中更新一些描述文件

2)客户端部分-您要在任一客户端页面中显示的管理页面之一中更新的描述.

现在我们需要信息:
1)您将信息存储在哪里,即管理页面中的说明.一些数据库或平面文件等?
2)是否所有三个页面都显示相同的描述?或每个页面的单独说明?

基于上述假设的解决方案
如果您要将说明存储在管理页面的某个数据库表中.您可以使用 select 查询在任何客户端页面(即pg1,pg2或pg3)上提取数据.得到结果后,您可以在网页的任何控件中使用所需列的值,也可以使用Response.Write将其直接写在页面上.

希望对您有所帮助.

--Hemant
Let me guess what you have and what you are trying to do:

This is what you have in your web application
1) Admin Section - this section you have for admin operations.

2) Client section - in this section you have web pages (i.e. pg1, pg2 and pg3) for clients of your web application.

This is what you are trying
1) Admin Section - you have a page in which you update some descripton

2) Client section - The descripton you have updated in one of the admin pages you want to show in any of the client page.

Now the information we require:
1) Where are you storing the information i.e. description from admin page. some database or flat file etc.?
2) Will all three pages display same description? or seperate description for each page?

Solution based on above assumption
if you are storing the description in some database table from your admin page. you can extract data on any of your client page i.e. pg1, pg2 or pg3 with select query. and after getting the result you can use desired column''s value in any of the control of your web page or you can write it directly on the page using Response.Write.

hope it will help.

--Hemant


嗨...,
您的要求不清楚,但我仍然认为您正在考虑
您网站的管理面板中的FckEditor.
现在,如果您使用数据库,则可以通过将描述放在db表列中并在前端检索它来完成
如果不是Db .....
然后对每个页面的addidng描述做一件事,为每个描述创建一个html文件,说"pagename_desc.html",现在它很容易:)调用html
使用< include>标记到您的页面中... :)


让我知道这是否不符合您的要求,我对您的问题有很多解决方案,但是这次请使用代码来明确您的要求:)

享受生活:)
Hi ...,
Your requirement is not clear but still i think you are taking about the
FckEditor in the admin panel of your site .
Now if you using Database then it can be done by putting the description in db table coloumn and retriving it in front end
If Not Db.....
Then do one thing on addidng description of each page create a html file for each description say "pagename_desc.html" and now its easy :) call the html
using <include> tag into your page... :)


Let me know if this not fit to your requirement i have lots of solution to your proble but be clear with you requirement this time with code :)


Enjoy Life :)


这篇关于页面说明有问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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