摘要:
function addPanel(url, title) { if ($("#mainTabs").tabs("exists", title)) { $("#mainTabs").tabs("select", title); //var tab = $('#mainTabs').tabs('get 阅读全文
摘要:
public ActionResult GetTreeJson() { List<Dictionary<string, object>> rows = new List<Dictionary<string, object>>(); var list = bpDAL.GetList(o => o.Tr 阅读全文
摘要:
对列使用 [MaxLength(200, ErrorMessage = "标题最大长度为200个字符")] //最大长度,错误信息 [Display(Name="名称")] //名称 [Required(ErrorMessage = "标题不能为空")] //校验错误信息 [NotMapped] 不 阅读全文
摘要:
if (File.Exists(HttpContext.Current.Server.MapPath(stuModel.Head)) != false) { //DAL.FaceImg faceImgDal = new DAL.FaceImg(); //DownFile(headFirst + sm 阅读全文
摘要:
[HttpPost] public ActionResult UpFile() { int count = Request.Files.Count; for (int i = 0; i < count; i++) { WebTest.Entity.FileInfo fileInfo = new We 阅读全文
摘要:
Global.asax文件下的程序名与项目名不一致,把namespace 的名字改成与RouteConfig文件下的 namespace 一样就行 阅读全文
摘要:
根据提示在webconfig里面的appstting下添加结点文件 阅读全文
摘要:
没有将views文件夹下的web.config文件一起复制到区域文件夹下. 如果缺少了这个文件就会出现该错误 阅读全文
摘要:
百度编辑器下载地址:http://ueditor.baidu.com/website/download.html 下载对应的版本,我是.net 以.net为例: 下载解压后: 1、新建ueditor文件 把所有东西复制到这个文件里面。注意:包含问题。 2、修改 ueditor.config.js 修 阅读全文
摘要:
Asp.net: 获取虚拟路径地址 HttpContext.Current.Server.MapPath("路径/位置") 将一个数组类型转换为另一个数组类型 Array.ConvertAll<string, int>(majorIDS.Split(','), s => int.Parse(s)) 阅读全文
摘要:
忘性大,记录一下 List<ServiceTypeParent> ServiceTypeParent = new List<SoOpen.ServiceTypeParent>() { new ServiceTypeParent{ServiceTypeID=ServiceType.ServiceTyp 阅读全文