读书人

为什么执行下面的上面的就没反应了呢

发布时间: 2012-09-11 10:49:03 作者: rapoo

为什么执行上面的,下面的就没反应了呢
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", 亲, 名字不能取一样

读书人网 >asp.net

热点推荐