Hello Sir, Can you pls tell me how can I use timer i asp.net for accessing a record from database. e.g if i set time for particular question in asp.net after time expiration it should automatically fetch next record from database

Showing Answers 1 - 1 of 1 Answers

Use ATLAS AJAX for this purpose, I write the small piece of code in which i set the time ot label control in code behind file, u can retrive data from database. Default.aspx file code:

 
Default.aspx.cs file code:protected void fun_rhd(object sender, EventArgs e) { Label1.Text = DateTime.Now.ToLongTimeString(); //Response.Write(DateTime.Now); }Note: Download the asp.net ajax v1.0 from http://ajax.asp.net/

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions