摘要: 步骤1:导入NOIO.dll (我导入压缩包中的4.0) 下载地址:http://npoi.codeplex.com/downloads/get/1572743 步骤二:粘贴代码(^ .... ^) public class ExeclController : Controller { // // 阅读全文
posted @ 2017-08-14 18:39 越过那个限制 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 1.http://www.swiper.com.cn/download/ 下载Swiper.JS Swiper.CSS 2.引入项目,添加html <div class="content"> <div class="swiper-container" id="swiper-container1"> 阅读全文
posted @ 2017-08-04 17:05 越过那个限制 阅读(628) 评论(0) 推荐(0) 编辑
摘要: JS // 上拉刷新 var page = 2; var isAjax = true;//加载数据前状态 $("#dataTable,#AuditthroughDt,#AuditrejectedDt,#CancelDt,#CancelDtA,#UnauditedDt").scroll(functio 阅读全文
posted @ 2017-08-04 16:45 越过那个限制 阅读(484) 评论(0) 推荐(0) 编辑
摘要: 网上很多错误 的[text ='xxx'] ,我晕。 option 标签没有 text 属性。所以[]选取不到。 正确的: $("#yearCardTypeState option:contains(@Yeardata.CardType)").attr("selected", true); 不然旧换 阅读全文
posted @ 2017-07-26 11:12 越过那个限制 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 获得当前系统时间: DateTime dt = DateTime.Now;Environment.TickCount可以得到“系统启动到现在”的毫秒值DateTime now = DateTime.Now;Console.WriteLine(now.ToString("yyyy-MM-dd")); 阅读全文
posted @ 2017-07-25 18:12 越过那个限制 阅读(524) 评论(0) 推荐(0) 编辑
摘要: return ;只能跳出each方法 ,无法跳出aaa() function aaa{ var result = false; //非空 $("input[type='text']").each( function () { if ($(this).val().length <= 0) { pare 阅读全文
posted @ 2017-07-21 18:59 越过那个限制 阅读(154) 评论(0) 推荐(0) 编辑
摘要: var poject_Array = ""; $('input[name="yearCardPoject"]:checked').each(function () { poject_Array += $(this).val() + ",";//向数组中添加元素 }); 阅读全文
posted @ 2017-07-20 18:58 越过那个限制 阅读(141) 评论(0) 推荐(0) 编辑
摘要: String dateNow= DateTime.Now.ToString("yyyyMMddhhmmss"+ new Random().Next(1, 99)); //随机数 StringBuilder sqlStr = new StringBuilder(); //1.添加年卡基础信息,获得自增 阅读全文
posted @ 2017-07-20 18:56 越过那个限制 阅读(426) 评论(0) 推荐(0) 编辑
摘要: 后台: //1.查询所有年卡类型 StringBuilder sqlStr = new StringBuilder(); sqlStr.Append(string.Format(" select Id,TypeName from tb_yearcard_cardtype where Merchant 阅读全文
posted @ 2017-07-19 18:49 越过那个限制 阅读(144) 评论(0) 推荐(0) 编辑
摘要: VS2015 ADO.NET无果后果断~! 动软生成:http://pan.baidu.com/s/1gfIf0ZL 阅读全文
posted @ 2017-07-13 18:37 越过那个限制 阅读(321) 评论(0) 推荐(0) 编辑