摘要:
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... 阅读全文
摘要:
string photoPath = Path.Combine(InitInfo.AttachPath, datePath, guidPath, fileName); HttpContext.Response.ContentType = "image/jpeg"; HttpContext.Respo 阅读全文
摘要:
public void DownFile(string guid) { var fileTransfer = new FileTransfer(); var directoryPath = Path.Combine(InitInfo.Config_GarbagePath, "FileImport", guid); ... 阅读全文
摘要:
前端: <form role="form" class="form-horizontal" id="form1" method="post" enctype="multipart/form-data" action="../ImportStudentEnrollment/ImportExcelFil 阅读全文
摘要:
public static class SQLDefenderHelper { public static string SQLFilter(string inText) { string word = "and|exec|insert|select|delete|update|chr|mid|ma 阅读全文
摘要:
public static string GetPageSql(string sql, int start, int end) { return string.Format(" select * from (select t1.*,rownum rowno from ({0}) t1 where r 阅读全文
摘要:
public static string GetLoginIP(HttpRequestBase request) { string loginip = ""; if (request.ServerVariables["HTTP_X_FORWARDED_FOR"] != null) { //获取代理的 阅读全文
摘要:
(转)http://www.cnblogs.com/Ricky-Huang/p/5536253.html 在使用Ueditor的时候,会爆出这样的错误: 浏览器控制台就报错了 Cannot set property 'innerHTML' of null .意思就是需要赋值的对象是null(但为什么 阅读全文
摘要:
最近在做一个项目,需要用到Ueditor,但是在点击上传图片的时候,总是隔了4-5秒才显示文件框 查了一些资料,最后发现,只需在 修改:(1) dialog/images/image.js 把image/*修改为:”image/jepg,image/png.image/jpg” (2) uedito 阅读全文