日期:2014-05-17  浏览次数:20401 次

为什么执行上面的,下面的就没反应了呢
string s = "1", s2 = "2";
  if (s == "1")
  ClientScript.RegisterStartupScript(this.GetType(), "script", "checkzhang('check_yes.jpg',1);", true);
  if (s2 == "2")
ClientScript.RegisterStartupScript(this.GetType(), "script", "checkzhang('check_yes.jpg',1);", true);

下面的s2那里没有调用的,为什么呢,有解决办法吗,在线等。

------解决方案--------------------
"script", 亲, 名字不能取一样