随笔分类 -  Web

摘要:public class FileDownLoadController : BaseController { private string FileFolder = ConfigurationManager.AppSettings["DownFile"];//获取值 #region 下载 #regi 阅读全文
posted @ 2021-05-11 23:47 人生为卒 阅读(203) 评论(0) 推荐(0) 编辑
摘要:枚举定义,获取枚举的描述 定义枚举熟悉,描述 定义枚举 获取枚举的描述 1087814 阅读全文
posted @ 2019-04-26 17:25 人生为卒 阅读(308) 评论(0) 推荐(0) 编辑
摘要:客户端方法 服务器方法 阅读全文
posted @ 2019-04-26 13:53 人生为卒 阅读(1454) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/u013365840/article/details/81283990 最近用VS2008开发Windows Mobile程序,使用C#、.NET Compact Framework,发现项目生成速度比较慢。用VS2008打开项目后,开始一段时间生成 阅读全文
posted @ 2019-03-20 16:36 人生为卒 阅读(127) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/ZYK1746914945/article/details/85100575 相信很多人都和我有一样的困惑,ServletRequest中getParameter()方法到底取的是什么参数,这些参数又是怎么放进去的,本文简单的回答一下该问题: 首先话 阅读全文
posted @ 2019-01-18 22:18 人生为卒 阅读(3135) 评论(0) 推荐(1) 编辑
摘要:转载:https://zhidao.baidu.com/question/444203596.html 在asp.net mvc3 中,在controller中使用HttpPostedFileBase file 参数获取上传的文件,开始的时候file.filename获取的为文件的名称,后来不知为何 阅读全文
posted @ 2018-11-01 14:21 人生为卒 阅读(5491) 评论(0) 推荐(0) 编辑
摘要:图片预览弹出框 图片预览js方法,需要传入路径 Controller方法 阅读全文
posted @ 2018-10-29 15:50 人生为卒 阅读(226) 评论(0) 推荐(0) 编辑
摘要:注意https和http的区别 阅读全文
posted @ 2018-10-25 15:35 人生为卒 阅读(196) 评论(0) 推荐(0) 编辑
摘要:encodeURIComponent(userId) 阅读全文
posted @ 2017-05-23 10:54 人生为卒 阅读(778) 评论(0) 推荐(0) 编辑
摘要:前提 : IE有个缓存机制,对请求的url进行判断,发现短时间内请求的url相同,则使用缓存的数据,而不是去重新向服务器获取一次数据。数据缓存也有好处,但对于需要经常去后台获取数据更新的需求来说,这就是个麻烦了。那怎么解决这个问题呢?既然是对相同的url认为是重复请求,那我就想办法每次请求的url值 阅读全文
posted @ 2017-05-19 10:39 人生为卒 阅读(892) 评论(0) 推荐(0) 编辑
摘要:获取对象的话,id和name都可以,一般用id的比较多 id获取 : $("#xxx") name获取 : $("[name=xxx]") 阅读全文
posted @ 2017-01-20 15:06 人生为卒 阅读(294) 评论(0) 推荐(0) 编辑
摘要:control js 阅读全文
posted @ 2017-01-12 17:01 人生为卒 阅读(644) 评论(0) 推荐(0) 编辑
摘要:转载 :http://www.cnblogs.com/xmfdsh/p/4062491.html js formart 阅读全文
posted @ 2017-01-12 15:10 人生为卒 阅读(395) 评论(0) 推荐(0) 编辑
摘要:var rows = grid.getData(); for (var i = 0, l = rows.length; i < l; i++) { var row = rows[i] grid.updateRow(row, { name: "新名字", email: "新邮箱" }... 阅读全文
posted @ 2016-12-30 15:57 人生为卒 阅读(92) 评论(0) 推荐(0) 编辑
摘要:证实可用 <select name="programme" id="programme_view"> </select> 阅读全文
posted @ 2016-12-29 15:39 人生为卒 阅读(233) 评论(0) 推荐(0) 编辑
摘要:var date = new Date(); var year = date.getFullYear(); var month = date.getMonth()+1; var day = date.getDate(); var hour = date.getHours(); var minute 阅读全文
posted @ 2016-12-26 16:58 人生为卒 阅读(155) 评论(0) 推荐(0) 编辑
摘要:推荐使用: encodeURIComponent() 特殊字符必须编码,例如 #,否则传递参数不完整 var urrl = '/SearchDialog/PrefabtypeSearch?functionName=PrefabtypeSearch' + '&prefabNo=' + encodeUR 阅读全文
posted @ 2016-12-26 15:49 人生为卒 阅读(173) 评论(0) 推荐(0) 编辑
摘要://自定义规则验证 $.validator.addMethod("onlycode", function (value, element, params) { var re = new RegExp(params); if ($.trim(value).length < 0 || $.trim(value) == "") ... 阅读全文
posted @ 2016-09-18 10:18 人生为卒 阅读(184) 评论(0) 推荐(0) 编辑
摘要:① 获取下拉框文本 方法1 : var obj=document.getElementById('select_template'); var text=obj.options[obj.selectedIndex].text;//获取文本 方法2: var obj=document.getEleme 阅读全文
posted @ 2016-07-04 17:09 人生为卒 阅读(3427) 评论(0) 推荐(0) 编辑
摘要:转载 : http://www.jb51.net/web/96169.html 阅读全文
posted @ 2016-06-29 16:41 人生为卒 阅读(131) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示