摘要: 我们在开发中经常会用List<string>来保存一组字符串,比如下面这段代码: List<string> studentNames = new List<string>(); studentNames.Add("John"); studentNames.Add("Mary"); studentNames.Add(&qu... 阅读全文
posted @ 2010-03-08 17:35 溪水云天 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 如果不用Ajax,cs中运行某段js代码方式可以是: Page.ClientScript.RegisterStartupScript(Page.GetType(), "", "<script>window.open('default2.aspx')</script>"); 如果页面中使用了Ajax ,则上述代码即使执行也无效果。应对这... 阅读全文
posted @ 2010-03-08 16:03 溪水云天 阅读(426) 评论(0) 推荐(0) 编辑