I have a function in Code behind that returns a Label lblvisible.text
protected void AutoloadDen()
{
//somecode
lblvisible.Text = //somecode;
// i want to autorefresh function AutoloadDen in 5s
//Such as: Autorefresh(AutoloadDen,5s)
}
add a timer control on your asp.net markup and add its Tick event in code behind. set interval time of Timer control to 5000 and in code behind call the AutoloadDean() function in tick event of Timer