摘要: 方式一:public FileStreamResult DownFile(string filePath, string fileName){ string absoluFilePath = Server.MapPath(System.Configuration.ConfigurationManag 阅读全文
posted @ 2017-11-27 19:30 ZXiaoHu 阅读(3665) 评论(0) 推荐(0) 编辑
摘要: 四种实现文件下载的方式: using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web 阅读全文
posted @ 2017-11-27 15:01 ZXiaoHu 阅读(1049) 评论(0) 推荐(0) 编辑
摘要: 简单地记下jquery实现回车事件 全局: $(function(){document.onkeydown = function(e){ var ev = document.all ? window.event : e; if(ev.keyCode==13) { $('#FormId).submit 阅读全文
posted @ 2017-11-21 18:02 ZXiaoHu 阅读(771) 评论(3) 推荐(1) 编辑
摘要: 部分简单的代码实现: <input type=button value=刷新 onclick="history.go(0)"> <input type=button value=刷新 onclick="location.reload()"> <input type=button value=刷新 o 阅读全文
posted @ 2017-11-18 10:38 ZXiaoHu 阅读(3882) 评论(0) 推荐(0) 编辑