摘要:
dt.rows(i).delete() dt.Columns.Remove ( "名称 "); dt.Columns.RemoveAt(列索引); 阅读全文
摘要:
在 page_load 里加上如下代码:string beforeSubmitJS = "\nvar exportRequested = false; \n"; beforeSubmitJS += "var beforeFormSubmitFunction = theForm.onsubmit;\n"; beforeSubmitJS += "theForm.onsubmit = function(){ \n"; beforeSubmitJS += "var returnVal = beforeFormSubmitFuncti 阅读全文
摘要:
先看看ASP.NET页面刷新的实现方法: 第一: private void Button1_Click( object sender, System.EventArgs e ) { Response.Redirect( Request.Url.ToString( ) ); } 第二: private void Button2_Click( object sender, System.EventArgs e ) { Response.Write( " < script language=javascript>window.location.href=document.URL 阅读全文