摘要: String.Format("{0} world!","hello") //将输出 hello world!,没有问题,但是只要在第一个参数的任意位置加上一个大括号:String.Format("{0} wo{rld!","hello") //就会产生一个异常,异常信息是:Input string was not in a correct format.//解决办法:String.Format("{0} wo{{rld!","hello")//orString.Format( 阅读全文
posted @ 2013-12-18 11:48 Shikyoh 阅读(3157) 评论(0) 推荐(1) 编辑
摘要: 后端:页面需继承ICallbackEventHandler protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { string strRefrence = string.Empty; strRefrence = Page.ClientScript.GetCallbackEventReference(this, "arg", "ReceiveDataFromServer", "conte... 阅读全文
posted @ 2013-12-18 10:57 Shikyoh 阅读(355) 评论(0) 推荐(0) 编辑