Hi,
I am doing some scheduled jobs with C# form applications. For example connecting a db and getting some data. Its not problem with .exe program. Now I wanna build a web site, but I dont know how to do it with .aspx pages. Because .aspx pages only works when they called. How can I do that with .aspx pages?
Loading
yokzuPosted Feb 22, 2012, 1:35 AM
Pramod Kumar NandagiriPosted Feb 21, 2012, 10:31 AM
And write code for connecting a db and getting some data in Timer_tick event in code behind like below:
protected void Timer1_Tick(object sender, EventArgs e)
{
sqlconnection con=new sqlconnection(strcon);
....
....
GridView1.DataBind()
}