开发者

how to clear error timer

开发者 https://www.devze.com 2023-03-17 01:27 出处:网络
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

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

精彩评论

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