I have one xml file in my project's folder. I am reading the xml file and showing the data in GridView. If i change some data in that xml file immediately i have to show in my GridView with out refreshing the webpage.
How?
Thanks in advance..
Loading
Kirtan PatelPosted Aug 1, 2009, 3:38 AM
Try File SystemWatcher's Changed Event In global.asax file .
source
http://aspadvice.com/blogs/ericm/archive/2005/08/05/2706.aspx
Kirtan PatelPosted Aug 1, 2009, 3:15 PM
ramesh pPosted Aug 1, 2009, 4:19 AM
<%@ Application Language="C#" %>
<script runat="server">
void Application_Start(object sender, EventArgs e)
{
// Code that runs on application startup}
void Application_End(object sender, EventArgs e)
{
// Code that runs on application shutdown
}
ramesh pPosted Aug 1, 2009, 3:11 AM
Kirtan PatelPosted Aug 1, 2009, 2:50 AM
It will refresh only that Grid View not whole Page .
Happy Coding :)