08 2018 档案

摘要:using ICSharpCode.SharpZipLib.Zip; using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; name... 阅读全文
posted @ 2018-08-10 16:58 一直乱跑的熊 阅读(177) 评论(0) 推荐(0)
摘要:string photoPath = Path.Combine(InitInfo.AttachPath, datePath, guidPath, fileName); HttpContext.Response.ContentType = "image/jpeg"; HttpContext.Respo 阅读全文
posted @ 2018-08-09 16:25 一直乱跑的熊 阅读(129) 评论(0) 推荐(0)
摘要:public void DownFile(string guid) { var fileTransfer = new FileTransfer(); var directoryPath = Path.Combine(InitInfo.Config_GarbagePath, "FileImport", guid); ... 阅读全文
posted @ 2018-08-09 15:43 一直乱跑的熊 阅读(365) 评论(0) 推荐(0)
摘要:前端: <form role="form" class="form-horizontal" id="form1" method="post" enctype="multipart/form-data" action="../ImportStudentEnrollment/ImportExcelFil 阅读全文
posted @ 2018-08-07 16:52 一直乱跑的熊 阅读(216) 评论(0) 推荐(0)
摘要:public static class SQLDefenderHelper { public static string SQLFilter(string inText) { string word = "and|exec|insert|select|delete|update|chr|mid|ma 阅读全文
posted @ 2018-08-07 11:03 一直乱跑的熊 阅读(210) 评论(0) 推荐(0)
摘要:public static string GetPageSql(string sql, int start, int end) { return string.Format(" select * from (select t1.*,rownum rowno from ({0}) t1 where r 阅读全文
posted @ 2018-08-07 08:53 一直乱跑的熊 阅读(159) 评论(0) 推荐(0)