03 2009 档案
GRIDVIEW添加自定义表头
摘要:protected void GVcaijuemian_RowCreated(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.Header) { //创建一个GridViewRow,相当于表格的 TR 一行 ...
阅读全文
多个GRIDVIEW同时导入到一个EXCEL文件中
摘要:HttpContext.Current.Response.Clear(); Response.Buffer = false; HttpContext.Current.Response.Charset = "GB2312"; HttpContext.Current.Response.ContentEncoding = System.Text.Encod...
阅读全文
在类中使用SERVER
摘要:添加应用System.Web; 然后System.Web.HttpContext.Current.Server.UrlEncode即可,来对中文传值编码
阅读全文
在BUTTON中触发GRIDVIEW的方法
摘要:很简单,BUTTON的CLICK事件里面写一个GRIDVIEW的绑定事件就OK!
阅读全文
浙公网安备 33010602011771号