摘要: private void dgJiBingZhenDuanBind() { Response.Clear(); Response.Charset = "GB2312"; Response.ContentEncoding = System.Text.Encoding.GetEncoding(... 阅读全文
posted @ 2014-12-15 17:27 卡萨丁·周 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 1.在head里添加文件位置要对应2.在form里添加3.打印方法document.all.WebBrowser.ExecWB(6, 1);打印的是当前页面的所有内容 阅读全文
posted @ 2014-12-15 17:22 卡萨丁·周 阅读(614) 评论(0) 推荐(0) 编辑
摘要: 分页符://div或其他也可以 阅读全文
posted @ 2014-12-15 17:19 卡萨丁·周 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 1.js获得当前元素 event.srcElement; 获取当前父元素 event.srcElement.parentElement var rowIndex = e.parentElement.rowIndex; var cellIndex = e.cellIndex;2.js中cel... 阅读全文
posted @ 2014-12-15 17:16 卡萨丁·周 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 使用这种方法前需要配置相应的环境1.引用ajax.dll文件2.在web.config添加如下: -->前台:js部分:function diaoyong() { var canshu = "ajax sunccess!"; var result = ceshi.ajaxtest(canshu).v... 阅读全文
posted @ 2014-12-15 15:33 卡萨丁·周 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 前台:事件的名字自己命名后台:对应前台的事件名称里面的参数复制Page_Load事件里的参数就行protected void Login_Click(object sender, EventArgs e){ Response.Write("");} 阅读全文
posted @ 2014-12-15 14:52 卡萨丁·周 阅读(354) 评论(0) 推荐(0) 编辑