Ajax局部更新日期时间报错
C # 中局部日期更新,Sys.application.initlize()中Sys参数无定义,
定义后又提示 Sys 为 null.
( http://chenshachs.blog.163.com/blog/static/129687921201112515811239/
局部更新時間例子)
protected void Page_Load(object sender, EventArgs e)
     {
         if (!Page.IsPostBack)
         {
             Label1.Text = System.DateTime.Now.ToString();
             Label2.Text = System.DateTime.Now.ToString();
         }
     }
     protected void Button1_Click(object sender, EventArgs e)
     {
         Label1.Text = System.DateTime.Now.ToString();
     }
------解决方案--------------------
web.config没有配置对。。
参考
sys未定义解决办法总结