摘要: controller层代码 调用类 封装导出的类 using MaoLiao.Infrastructure.Attributes;using NPOI.HSSF.UserModel;using NPOI.SS.UserModel;using System;using System.Collectio 阅读全文
posted @ 2019-02-14 16:58 ITMrRight 阅读(529) 评论(0) 推荐(0) 编辑
摘要: int useridx = Convert.ToInt32(context.Request.QueryString["useridx"]); int type = Convert.ToInt32(context.Request.QueryString["type1"]); DataTable dt 阅读全文
posted @ 2019-01-23 16:40 ITMrRight 阅读(411) 评论(0) 推荐(0) 编辑
摘要: <script src="js/clipboard.min.js"></script> <button type="" class="code font80" :data-clipboard-text="InvitationCode">{{InvitationCode}}</button> <p c 阅读全文
posted @ 2019-01-23 16:30 ITMrRight 阅读(3559) 评论(0) 推荐(1) 编辑
摘要: DataTable dt = null; string cacheKey = "GetList_pro_Activity_FairySword20180510_tw" + type + bdate+edate+maxleve+minleve; if (HttpContext.Current.Cach 阅读全文
posted @ 2018-12-19 17:05 ITMrRight 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 使用超链接变成按钮 @Html.ActionLink("添加", "AddEditGetCode", null, new { @class = "btn btn-default",open = 2, }) 阅读全文
posted @ 2018-10-15 11:18 ITMrRight 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 前端JS // //保存排序 // if (window.location.href.indexOf("showStatus=0") == -1) { // $('#saveSort').click(function () { // var Ids = ''; // $('#tab-sort tbo 阅读全文
posted @ 2018-09-14 10:51 ITMrRight 阅读(1473) 评论(0) 推荐(0) 编辑
摘要: I 在NuGet中下载Newtonsoft.Json插件 using Newtonsoft.Json.Converters; 引入命名空间, --时间转换格式 soDateTimeConverter fmt = new IsoDateTimeConverter(); fmt.DateTimeForm 阅读全文
posted @ 2018-08-28 15:49 ITMrRight 阅读(818) 评论(0) 推荐(0) 编辑
摘要: List<Account_DayCoinAdd> rest = CoinServices.GiftCoin(bdate, edate); long sumnums = 0; for (int i=0;i<rest.Count; i++) { sumnums += rest[i].nums; } re 阅读全文
posted @ 2018-08-17 10:37 ITMrRight 阅读(169) 评论(0) 推荐(0) 编辑
摘要: #region << 版 本 注 释 >>/***************************************************** 文 件 名:ImageHelper* Copyright(c) www.ITdos.com* CLR 版本: 4.0.30319.17929* 创 阅读全文
posted @ 2018-08-15 10:52 ITMrRight 阅读(232) 评论(0) 推荐(0) 编辑
摘要: <select class="form-control" id="state" name="state"> <option value="1" name="state">可用</option> <option value="0" name="state">不可用</option> </select> 阅读全文
posted @ 2018-08-14 10:28 ITMrRight 阅读(5330) 评论(0) 推荐(0) 编辑