摘要: .ToString( "#,##0.00 ") 金额添加千分号,保留两位小数 阅读全文
posted @ 2020-08-28 10:58 tommy~hi 阅读(305) 评论(0) 推荐(0) 编辑
摘要: aspx: <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script type="text/javascript"> function a() { alert("ceshi"); 阅读全文
posted @ 2020-08-28 10:57 tommy~hi 阅读(270) 评论(0) 推荐(0) 编辑
摘要: function getNowFormatDate() { var date = new Date(); var seperator1 = "-"; var year = date.getFullYear(); var month = date.getMonth() + 1; var strDate 阅读全文
posted @ 2020-08-28 10:52 tommy~hi 阅读(539) 评论(0) 推荐(0) 编辑
摘要: $('a[data-toggle="tab"]').on( 'shown.bs.tab', function (e) { $( "#mytypes").datagrid('resize' ); }); 阅读全文
posted @ 2020-08-28 10:51 tommy~hi 阅读(145) 评论(0) 推荐(0) 编辑
摘要: function formatremark(val, row) { if (val != null ) { if (val.length > 33) { return val.substring(0, 33) + "......" } else { return val; } } } 阅读全文
posted @ 2020-08-28 10:50 tommy~hi 阅读(322) 评论(0) 推荐(0) 编辑
摘要: public class ExcelExportUtils { /// <summary> /// 页面导出Excel /// </summary> /// <typeparam name="T">实体类型</typeparam> /// <param name="fileName">导出的文件名< 阅读全文
posted @ 2020-08-26 13:14 tommy~hi 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1、yum install -y https://mirrors.aliyun.com/docker-ce/linux/centos/7/x86_64/edge/Packages/containerd.io-1.2.6-3.3.el7.x86_64.rpm 2、yum install https:/ 阅读全文
posted @ 2020-08-24 16:57 tommy~hi 阅读(504) 评论(0) 推荐(0) 编辑
摘要: 一、准备安装包 1、VMware软件 (1)解压VMware压缩包得到下图所示文件: (1)打开安装包 (2)按照安装指示完成安装,安装过程中会重置网络,出现网络断开的现象,属于正常现象。 (3)打开VMware,出现输入密钥界面,这时候就要用到密钥生成器了,由于我已经破解成功,就不截密钥界面了,密 阅读全文
posted @ 2020-08-24 14:59 tommy~hi 阅读(509) 评论(0) 推荐(0) 编辑
摘要: 1、启用Hyper-V。打开【控制面板】》【程序】》【启用或关闭Windows功能】,勾选Hyper-V节点下所有的选项,点击【确定】并重启计算机。 2、docker安装 2.1、下载docker for windows版本,下载链接:https://www.docker.com/products/ 阅读全文
posted @ 2020-08-17 18:27 tommy~hi 阅读(606) 评论(0) 推荐(0) 编辑
摘要: public void DownLoadFile() { try { string strFilePath = Server.MapPath("~") + "/File/指南.pdf";//服务器文件路径 FileInfo fileInfo = new FileInfo(strFilePath); 阅读全文
posted @ 2020-08-11 12:38 tommy~hi 阅读(176) 评论(0) 推荐(0) 编辑