摘要: 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 一直乱跑的熊 阅读(169) 评论(0) 推荐(0) 编辑
摘要: string photoPath = Path.Combine(InitInfo.AttachPath, datePath, guidPath, fileName); HttpContext.Response.ContentType = "image/jpeg"; HttpContext.Respo 阅读全文
posted @ 2018-08-09 16:25 一直乱跑的熊 阅读(124) 评论(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 一直乱跑的熊 阅读(347) 评论(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 一直乱跑的熊 阅读(209) 评论(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 一直乱跑的熊 阅读(192) 评论(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 一直乱跑的熊 阅读(155) 评论(0) 推荐(0) 编辑
摘要: public static string GetLoginIP(HttpRequestBase request) { string loginip = ""; if (request.ServerVariables["HTTP_X_FORWARDED_FOR"] != null) { //获取代理的 阅读全文
posted @ 2018-07-19 15:34 一直乱跑的熊 阅读(1360) 评论(0) 推荐(0) 编辑
摘要: (转)http://www.cnblogs.com/Ricky-Huang/p/5536253.html 在使用Ueditor的时候,会爆出这样的错误: 浏览器控制台就报错了 Cannot set property 'innerHTML' of null .意思就是需要赋值的对象是null(但为什么 阅读全文
posted @ 2017-09-11 14:18 一直乱跑的熊 阅读(3042) 评论(1) 推荐(0) 编辑
摘要: 最近在做一个项目,需要用到Ueditor,但是在点击上传图片的时候,总是隔了4-5秒才显示文件框 查了一些资料,最后发现,只需在 修改:(1) dialog/images/image.js 把image/*修改为:”image/jepg,image/png.image/jpg” (2) uedito 阅读全文
posted @ 2017-09-10 19:43 一直乱跑的熊 阅读(725) 评论(0) 推荐(0) 编辑
摘要: cankao:http://www.cnblogs.com/xdp-gacl/p/3788369.html jsp常用的标签有以下3个 1、<jsp:include>标签 2、<jsp:forward>标签 3、<jsp:param>标签 《jsp:include》标签用于把另外一个资源的输出内容插 阅读全文
posted @ 2017-02-07 16:45 一直乱跑的熊 阅读(221) 评论(0) 推荐(0) 编辑