Click here to Skip to main content
15,889,651 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted
Updated 22-May-11 22:55pm
v4
Comments
jcosep 23-May-11 2:45am    
ur asking for the codes xD
R. Erasmus 23-May-11 2:55am    
Elaborate... what you're asking is not making sence at all. Give specifics.
OriginalGriff 23-May-11 3:00am    
Sorry? Please try to give more info on exactly what you are trying to achieve.
[no name] 23-May-11 4:59am    
What have you tried for this or expecting your Homework from Us.
beginner in C#.net 23-May-11 5:35am    
i dont know the logic how to get and set value... mr.hement clearly clarify my doubt...

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
 
Share this answer
 
Comments
Dalek Dave 23-May-11 4:35am    
Well Decyphered!
Hemant__Sharma 23-May-11 4:36am    
Thanks @Dalek Dave
beginner in C#.net 23-May-11 5:20am    
my 5 too... this logic only i want... excellent...
Hemant__Sharma 23-May-11 5:38am    
Glad i could help.
But, you see if the question would have framed clearly you would have got answer in fraction of seconds from the people commented in the beginning. So always keep it simple and put it in steps.

you will learn soon how to put question and asnwer the best way.. right now if you have problem explaning the issue always put them in 123 way.

1- $ this is where i'm
2- $ this is what i have
3- $ this is what i want to do with what i've in step 2

hope this will help.

Thanks,
Hemant
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 :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900