Click here to Skip to main content
15,904,024 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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.
Posted
Comments
Sumit_Kumar_Sinha 18-Jan-13 0:59am    
Hey.............In asp.net many datacontrols are avaliable for display data...you can use ..............
maan_k 18-Jan-13 1:07am    
here i can't use the control like gridview,repeater etc.
my ques. is that pages like new offers in which content is not fixed for display that type of content which control should be used

1 solution

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

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.

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...
 
Share this answer
 
v2

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