摘要: 1.Open a command prompt 2.Stop IIS:“iisreset/stop“ 3.Change to the .NET Framework 2.0 root directory:“C:\WINDOWS\Microsoft.NET\Framework\v2.0.... 阅读全文
posted @ 2017-03-05 00:00 PhilXu 阅读(107) 评论(0) 推荐(0) 编辑
摘要: string str = "aaa,bbb,ccc!ddd"; string[] array1 = str.Split(','); string[] array2 = str.Split(new char[] { ',', '!' }); string[] array3 = Rege... 阅读全文
posted @ 2017-03-05 00:00 PhilXu 阅读(113) 评论(0) 推荐(0) 编辑
摘要: function setupPrice() { var baselinePrice = $("#").val(); $("#").attr('placeholder', baselinePrice); } 阅读全文
posted @ 2017-03-05 00:00 PhilXu 阅读(136) 评论(0) 推荐(0) 编辑
摘要: var entres = from entry in db.Entries group entry by entry.Name into groupByName orderby groupByName.Count() descending select new CommentSumm... 阅读全文
posted @ 2017-03-05 00:00 PhilXu 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 碰到一个莫名其妙的问题,发布网站时,页面文件放在Reports文件夹里,超链的时候跳出windows需要验证.我估计是Reports这个文件夹默认是用于发布报表的.所以需要权限 阅读全文
posted @ 2017-03-05 00:00 PhilXu 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 如果网站需要登录才可以访问的话,需要添加 public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new AuthorizeAttribute()); filters... 阅读全文
posted @ 2017-03-05 00:00 PhilXu 阅读(105) 评论(0) 推荐(0) 编辑
摘要: http://localhost:5463/CustomAjax/index @section head { } @Html.ActionLink("show the pricy policy", "PrivacyPolicy",null,new { id= "privacyLin... 阅读全文
posted @ 2017-03-05 00:00 PhilXu 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-03-05 00:00 PhilXu 阅读(132) 评论(0) 推荐(0) 编辑
摘要: USE [master] GO EXEC master.dbo.sp_addlinkedserver @server = N'192.168.1.102\SQLEXPRESS', @srvproduct=N'SQL Server' ; GO --把数据库加到本地的类似连接池里. se... 阅读全文
posted @ 2017-03-05 00:00 PhilXu 阅读(98) 评论(0) 推荐(0) 编辑
摘要: Dim cntrl As Control For Each cntrl In frm If TypeOf cntrl Is CommandButton Or TypeOf cntrl Is CheckBox Or TypeOf cntrl Is fpBtn Then 阅读全文
posted @ 2017-03-05 00:00 PhilXu 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 要记得在服务器防火墙中打开端口号 阅读全文
posted @ 2017-03-05 00:00 PhilXu 阅读(229) 评论(0) 推荐(0) 编辑
摘要: #region 定义类型 /// /// 图书分类信息 /// public class Category { /// /// 分别ID /// public int catID { get; set; } /// /// 分类名 /// public string ca... 阅读全文
posted @ 2017-03-05 00:00 PhilXu 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 行组列祖最右边箭头->高级模式->行组静态->keepwithgroup=after ,reportonnewpage=true 阅读全文
posted @ 2017-03-05 00:00 PhilXu 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Index.cshtml @model IEnumerable @section head { } comments @foreach (var comment in Model) { @comment } @Html.TextArea("comment", new { ro... 阅读全文
posted @ 2017-03-05 00:00 PhilXu 阅读(189) 评论(0) 推荐(0) 编辑
摘要: $('input:checkbox').each(function () // 循环每个checkbox parseInt($(this).val();// 计算 check box的值 sample ... 阅读全文
posted @ 2017-03-05 00:00 PhilXu 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 1 (function($) { var cache = []; // Arguments are image paths relative to the current page. $.preLoadImages = function() {... 阅读全文
posted @ 2017-03-05 00:00 PhilXu 阅读(337) 评论(0) 推荐(0) 编辑
摘要: body:before { content: ""; position: fixed; top: -10px; left: 0; width: 100%; height: 10px; -webkit-box-shadow: 0px 0px 10px rgba(0,0,0,.8); -... 阅读全文
posted @ 2017-03-05 00:00 PhilXu 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 1.web.config添加数据库连接 2.创建DbContext,类的名字必须和webconfig建的名字一致 public class GuestbookContext:DbContext { public System.Data.Entity.DbSet Entries { ... 阅读全文
posted @ 2017-03-05 00:00 PhilXu 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 前台 '> 后台 AgentPrice ap = (AgentPrice)e.Item.DataItem; Label lblRegionCost = e.Item.FindControl("lblRegionCost") as Label; lblRegionCost.Text... 阅读全文
posted @ 2017-03-05 00:00 PhilXu 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 拖动 拖动交换单元格内容 ... 阅读全文
posted @ 2017-03-05 00:00 PhilXu 阅读(315) 评论(0) 推荐(0) 编辑