10 2017 档案

摘要:// 处理时间 function NewDate(str) { str = str + ""; str = str.split('-'); var date = new Date(); date.setUTCFullYear(str[0], str[1] - 1, str[2]); date.set 阅读全文
posted @ 2017-10-09 18:43 亘古不变 阅读(710) 评论(0) 推荐(0) 编辑
摘要:var listItem = ""; $('#AddTable tr').each(function () { listItem += '{"pkid":"id","Code":"code","Name":"name"},'; }); var lists = { "list": "[" + list 阅读全文
posted @ 2017-10-09 18:41 亘古不变 阅读(3442) 评论(0) 推荐(0) 编辑
摘要:通过 $("div.test").css("width","100px");和 $("div.test").css("width","100px !important");是无效的要想修改div的width,可以通过如下这种方式:$("div.test").css("cssText", "width 阅读全文
posted @ 2017-10-09 18:40 亘古不变 阅读(350) 评论(0) 推荐(0) 编辑
摘要://全选/反选 $("#allSelect").click(function () { var isChecked = $(this).is(":checked"); $("input[name='selected_id']").each(function (k, v) { $(this).prop 阅读全文
posted @ 2017-10-09 18:38 亘古不变 阅读(118) 评论(0) 推荐(0) 编辑
摘要:1.方法一: function getUrlParam(name){var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象var r = window.location.search.substr(1).m 阅读全文
posted @ 2017-10-09 18:37 亘古不变 阅读(4761) 评论(0) 推荐(0) 编辑
摘要:#region 下载文件 /// <summary> /// 下载文件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void download_Click(object 阅读全文
posted @ 2017-10-09 18:34 亘古不变 阅读(170) 评论(0) 推荐(0) 编辑
摘要:placeholder="请输入截至日期" 阅读全文
posted @ 2017-10-09 18:33 亘古不变 阅读(876) 评论(0) 推荐(0) 编辑
摘要:// 判断字符串长度,包含汉字 ASCIIEncoding n = new ASCIIEncoding(); byte[] b = n.GetBytes(CNABCode.Text); // l 为字符串之实际长度 int lenthCNABCode = 0; for (int i = 0; i < 阅读全文
posted @ 2017-10-09 18:31 亘古不变 阅读(497) 评论(0) 推荐(0) 编辑
摘要:<asp:Repeater ID="rptTitlelist" runat="server" OnItemDataBound="rptTitlelist_OnItemDataBound"> <ItemTemplate> <tr> <td colspan="2" class="tabledata" s 阅读全文
posted @ 2017-10-09 18:29 亘古不变 阅读(176) 评论(0) 推荐(0) 编辑
摘要:#region 根据身份证获取出生日期 /// <summary> /// 根据身份证获取出生日期 /// </summary> /// <param name="Card"></param> /// <returns></returns> private DateTime GetBirthDayB 阅读全文
posted @ 2017-10-09 18:28 亘古不变 阅读(298) 评论(0) 推荐(0) 编辑
摘要:public enum EnumAPPType{ 申请 = 0 变更 = 1,} // 设置值,和文本类型 Array array = Enum.GetValues(typeof(DTEnums.EnumAPPType)); if (array != null && array.Length > 0 阅读全文
posted @ 2017-10-09 18:26 亘古不变 阅读(262) 评论(0) 推荐(0) 编辑

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