开发者

how to clear error timer

i have designing in my web page. i have use timer control in asp.net .the error are occur how to clear error how to run the timer

My code

 public partial class _Default : Sys开发者_运维知识库tem.Web.UI.Page 
  {
    protected void Page_Load(object sender, EventArgs e)
    {

    }
  }

 public interface IScheduledItem

{

void AddEventsInInterval(DateTime Begin,
         DateTime End, ArrayList List);

    DateTime NextRunTime(DateTime time);
}

the error he type or namespace name 'ArrayList' could not be found


Add a reference to System.Collections to your project, and a using statement for System.Collections.


You need to reference the correct namespace like this:

using System.Collections.ArrayList;

Add this to the top of you file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜