摘要:
1.web.config添加数据库连接 2.创建DbContext,类的名字必须和webconfig建的名字一致 public class GuestbookContext:DbContext { public System.Data.Entity.DbSet Entries { ... 阅读全文
posted @ 2017-03-05 00:00
PhilXu
阅读(69)
评论(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
阅读(97)
评论(0)
推荐(0)
摘要:
1 (function($) { var cache = []; // Arguments are image paths relative to the current page. $.preLoadImages = function() {... 阅读全文
posted @ 2017-03-05 00:00
PhilXu
阅读(346)
评论(0)
推荐(0)
摘要:
$('input:checkbox').each(function () // 循环每个checkbox parseInt($(this).val();// 计算 check box的值 sample ... 阅读全文
posted @ 2017-03-05 00:00
PhilXu
阅读(233)
评论(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
阅读(194)
评论(0)
推荐(0)
摘要:
行组列祖最右边箭头->高级模式->行组静态->keepwithgroup=after ,reportonnewpage=true 阅读全文
posted @ 2017-03-05 00:00
PhilXu
阅读(165)
评论(0)
推荐(0)
摘要:
#region 定义类型 /// /// 图书分类信息 /// public class Category { /// /// 分别ID /// public int catID { get; set; } /// /// 分类名 /// public string ca... 阅读全文
posted @ 2017-03-05 00:00
PhilXu
阅读(285)
评论(0)
推荐(0)
摘要:
一个页面莫名其妙的按钮不能点,但是删了数据就可以了,原来是因为updatepanel中数据太多,导致页面报错了。 中数据量过大导致 500 错误 出现的问题描述:当页面的数据量比较大时,出现异常,详细信息: System.InvalidOperationException: 对象... 阅读全文
posted @ 2017-03-05 00:00
PhilXu
阅读(261)
评论(0)
推荐(0)
摘要:
不能在此路径中使用此配置节。如果在父级别上锁定了该节,便会出现这种情况。锁定是默认设置的(overrideModeDefault="Deny"),或者是通过包含 overrideMode="Deny" 或旧有的 allowOverride="false" 的位置标记明确设置的。 C:... 阅读全文
posted @ 2017-03-05 00:00
PhilXu
阅读(216)
评论(0)
推荐(0)
摘要:
一个好用的右键菜单(基于jquery) The jQuery ContextMenu Plugin 是一个jQuery右键菜单插件。新加载和更新右键菜单。支持动态更新菜单值,修改图标,关闭和启用菜单等。 本地download 阅读全文
posted @ 2017-03-05 00:00
PhilXu
阅读(110)
评论(0)
推荐(0)