摘要: dt.rows(i).delete() dt.Columns.Remove ( "名称 "); dt.Columns.RemoveAt(列索引); 阅读全文
posted @ 2011-07-05 13:13 落 枫 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 在 page_load 里加上如下代码:string beforeSubmitJS = "\nvar exportRequested = false; \n"; beforeSubmitJS += "var beforeFormSubmitFunction = theForm.onsubmit;\n"; beforeSubmitJS += "theForm.onsubmit = function(){ \n"; beforeSubmitJS += "var returnVal = beforeFormSubmitFuncti 阅读全文
posted @ 2011-07-05 11:24 落 枫 阅读(667) 评论(0) 推荐(0) 编辑
摘要: 先看看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 阅读全文
posted @ 2011-07-05 10:02 落 枫 阅读(338) 评论(0) 推荐(0) 编辑