![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
.net c#
爱做梦的猫
一只爱做梦的小猫咪
展开
-
gridview合并行列并导出Excel
/// <summary> /// 导出合并的gridview /// </summary> /// <param name="dataSource">数据源</param> /// <param name="startColoum">要合并起始列,初始值:0&am原创 2018-07-29 14:44:56 · 480 阅读 · 0 评论 -
合并gridview行列
/**********************************************/// 名称:MergeGridViewCell// 描述:用来合并GridView单元格。/*********************************************/using System;using System.Collections.Generic;using S...原创 2018-07-29 14:46:04 · 232 阅读 · 0 评论 -
js及后台代码多语言处理
1.js/*! * js 帮助工具,主要是对一些常用方法的第二次封装 * Create Date: 2015-06-16 22:57*/Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, "d+": this.getDate(), ...原创 2018-07-29 15:02:57 · 685 阅读 · 0 评论 -
mvc-在线弹出新页面查看word文档
1.页面 <div class="cont"> <span class="label">操作手册</span> @Html.ActionLink(查看, "ViewManual", "Home", new { target = "_blank", @class = "原创 2018-08-15 10:54:04 · 906 阅读 · 0 评论 -
list排序
private static List<MTL_WAREHOUSE_DETAIL> ListSort(List<MTL_WAREHOUSE_DETAIL> infoList, string field, string rule) { if (!string.IsNullOrEmpty(rule) && (rul...翻译 2018-09-25 09:46:07 · 149 阅读 · 0 评论 -
MVC gridview导出到EXCEL
public virtual ActionResult ExportToExcel(object dataSource, string filename = "excel") { GridView gv = new GridView(); gv.DataSource = dataSource; gv.Dat...原创 2018-11-09 14:01:55 · 158 阅读 · 0 评论