Change website's content with change in the database!

Posted by Coolbharat under ASP.NET on 1/30/2014 | Points: 10 | Views : 1427 | Status : [Member] | Replies : 1
Hi,
I want to change the Text Content of a webpage from the Database.Means as soon as the data or text content of a webpage in the Sql Server Database changes,it should be reflected on the text content of the webpage.How can i achieve this.

Thanks in advance




Responses

Posted by: kgovindarao523-21772 on: 1/30/2014 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Hi,

Use SqlDependency to do so.
Refer following links
http://msdn.microsoft.com/en-us/library/62xk7953%28v=vs.110%29.aspx
http://dotnet.dzone.com/articles/c-sqldependency-monitoring

Thank you,
Govind

Coolbharat, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response