摘要: //先得到模板页所在的路径 string phyPath = context.Server.MapPath("/p02style.html"); //得到模板的所有内容 string str = System.IO.File.ReadAllText(phyPath); //读取母版页 替换占位符 / 阅读全文
posted @ 2018-06-05 16:22 敲代码带 阅读(932) 评论(0) 推荐(1) 编辑
摘要: 设置一个全局变量 阅读全文
posted @ 2018-05-16 13:36 敲代码带 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 1.转化字符串 string partnerid = TempData["partnerid"] + ""; 阅读全文
posted @ 2018-05-15 21:52 敲代码带 阅读(147) 评论(0) 推荐(0) 编辑
摘要: var CheckData = function () { var accountname = $("#AccountName").val(); var accounttype = $("#AccountType").val(); var mobile = $("#ContactPersonMobile").val(); var ... 阅读全文
posted @ 2018-05-15 13:26 敲代码带 阅读(238) 评论(0) 推荐(0) 编辑
摘要: @Ajax.ActionLink(@shared.Delete, "DeleteServicetag", new { id = item.ID }, new AjaxOptions { Confirm = "确认要删除此Servicetag ?", HttpMethod = "Post", ... 阅读全文
posted @ 2018-05-15 09:44 敲代码带 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 1.客户->审批拒绝->编辑->变为待编辑状态(拒绝原因=“”清空) 2.显示列表的判断条件(角色判断),在导出数据判断中再重新判断 3.改了代码界面,用户手册也要跟着修改 阅读全文
posted @ 2018-05-14 21:44 敲代码带 阅读(119) 评论(0) 推荐(0) 编辑
摘要: for (int t = 0; t < serviceTag.Length; t++)//2 12 12 { for (int j = t+1; j < serviceTag.Length; j++)//2 12 12 { if (serviceTag[t] == ... 阅读全文
posted @ 2018-05-14 21:37 敲代码带 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 1.视图修改 USE [D] GO Alter View [dbo].[vUsers_Address] as SELECT a.*,b.City,b.Township, b.Street,c.RoleName from CCD_Users as aLeft join TW_Address as b 阅读全文
posted @ 2018-05-14 21:34 敲代码带 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 写了没定义 @Html.DisplayFor(model => model.) 阅读全文
posted @ 2018-04-26 16:45 敲代码带 阅读(608) 评论(0) 推荐(0) 编辑
摘要: @{Html.RenderAction("GetGrid_Servicetag", new { IRN = Model.IRN });} 阅读全文
posted @ 2018-04-26 09:33 敲代码带 阅读(100) 评论(0) 推荐(0) 编辑