摘要: 1.页面设置gridview ShowHeaderWhenEmpty="True" 2.参考原文:https://blog.csdn.net/xfblue/article/details/3861242 /// <summary> /// GridviewControl 的摘要说明 /// </su 阅读全文
posted @ 2019-10-14 14:56 suqq小白 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 代码展示: //获取文件路径 UploadFile uploadFiless = IoCContainer.Get<IUploadFileDao>().SelectByIdReq(uploadFile.ToInt32OrDefault()); string docAbsPath = UploadFi 阅读全文
posted @ 2019-10-14 10:58 suqq小白 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 文件格式.xls 代码展示: //集合列表 IList<ProjectStatuStat> projectStatuStats = new List<ProjectStatuStat>(); //取根目录下的excel string absPath = HttpContext.Current.Ser 阅读全文
posted @ 2019-10-14 10:10 suqq小白 阅读(3835) 评论(1) 推荐(0) 编辑
摘要: 例子: SELECT u.U_ChineseName AS 处理人,case u.U_Region when 1then '省公司'when 2then '西安分公司'when 3then '铜川分公司'when 4then '咸阳分公司'when 5then '宝鸡分公司'when 6then ' 阅读全文
posted @ 2019-10-14 09:54 suqq小白 阅读(1154) 评论(0) 推荐(0) 编辑
摘要: 月: =DATEDIF(A2,B2,"M") 其中A2,B2是相关日期所在单元格,可根据实际修改,第三个参数“M”则表示返回A2,B2之间相差的月份数 年: =DATEDIF(A2,B2,"Y") 其中A2,B2是相关日期所在单元格,可根据实际修改,第三个参数“M”则表示返回A2,B2之间相差的年份 阅读全文
posted @ 2019-10-14 09:42 suqq小白 阅读(603) 评论(0) 推荐(0) 编辑