摘要: /// <summary> /// DataTable导出Excel(纵向导出) /// </summary> /// <param name="dataTable">数据源</param> /// <param name="filePath">保存的路径</param> /// <param na 阅读全文
posted @ 2020-06-19 09:56 Hero-韦先生 阅读(910) 评论(0) 推荐(0) 编辑
摘要: $(document).on("input propertychange", "select[lay-search] ~ div input", function () { if ($(this).val() == "") { //清空原选项值 $("#Type").val(''); //清除lay 阅读全文
posted @ 2020-07-22 15:19 Hero-韦先生 阅读(2303) 评论(0) 推荐(0) 编辑
摘要: <form action="/Employees/BatchUpload" class="dropzone" enctype="multipart/form-data" id="my-dropzone" name="photoFile" method="post" style="margin-top 阅读全文
posted @ 2020-07-15 15:27 Hero-韦先生 阅读(310) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.IO; using ICSharpCode.SharpZipLib.Checksums; using ICSharpCode.SharpZipLib.Zip; namespace 阅读全文
posted @ 2020-07-13 17:12 Hero-韦先生 阅读(322) 评论(0) 推荐(0) 编辑
摘要: create table Book ( id int primary key identity, name varchar(20), date datetime, remark varchar(50) ) --循环执行插入10000条数据 declare @id int declare @name 阅读全文
posted @ 2020-07-10 11:13 Hero-韦先生 阅读(378) 评论(0) 推荐(0) 编辑
摘要: public static string ReplaceSQLChar(string str) { if (str == String.Empty) return String.Empty; str = str.Replace("'", ""); str = str.Replace(";", "") 阅读全文
posted @ 2020-07-07 11:03 Hero-韦先生 阅读(513) 评论(0) 推荐(0) 编辑
摘要: <form action="/Employees/Import" method="post" enctype="multipart/form-data"> <input type="file" name="file" id="file" /> <input type="submit" name="n 阅读全文
posted @ 2020-06-30 14:37 Hero-韦先生 阅读(1109) 评论(0) 推荐(0) 编辑
摘要: <input type="submit" class="btn btn-info" onclick="DelAll()" value="批量删除" /> <table class="table table-striped" id="table"> <tr> <td><input id="cb_sel 阅读全文
posted @ 2020-06-29 14:25 Hero-韦先生 阅读(1496) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// Response分块下载 /// </summary> /// <param name="fileName">客户端保存的文件名</param> /// <param name="filePath">客户端保存的文件路径(包括文件名)</param> /// <r 阅读全文
posted @ 2020-06-29 14:06 Hero-韦先生 阅读(392) 评论(0) 推荐(0) 编辑
摘要: 三次握手 所谓的“三次握手”:为了对每次发送的数据量进行跟踪与协商,确保数据段的发送和接收同步, 根据所接收到的数据量而确认数据发送、接收完毕后何时撤消联系,并建立虚连接。 为了提供可靠的传送,TCP在发送新的数据之前,以特定的顺序将数据包的序号,并需要这些包传送给目标机之后的确认消息。 TCP总是 阅读全文
posted @ 2020-06-20 21:10 Hero-韦先生 阅读(317) 评论(0) 推荐(0) 编辑
摘要: select a.name 来源名称,b.text 代码内容, case when a.xtype='V' then '视图' when a.xtype='P' then '存储过程' when a.xtype='FN' then '标量函数' when a.xtype='TF' then '表函数 阅读全文
posted @ 2020-06-19 14:54 Hero-韦先生 阅读(518) 评论(0) 推荐(0) 编辑