日期:2014-05-18  浏览次数:20362 次

字符串格式不对
void Session_Start(object sender, EventArgs e) 
  {
  // 在新会话启动时运行的代码
  Application.Lock();
  Application["online"] = Convert.ToInt32(Application["online"]) + 1;
  Application["total"] = Convert.ToInt32(Application["total"]) + 1;
  Application.UnLock();
  }
就是那个红色的老是报错 说字符串格式不对 ,应该怎么写的啊,急哦

------解决方案--------------------
Application["total"]的值不是数字