随笔分类 -  ASP.NET

摘要:https://blog.csdn.net/mzhifa/article/details/80999912 阅读全文
posted @ 2020-12-03 09:13 Ken-Cai 阅读(89) 评论(0) 推荐(0) 编辑
摘要:http://fortawesome.github.io/Font-Awesome/cheatsheet/ 阅读全文
posted @ 2016-03-22 14:56 Ken-Cai 阅读(150) 评论(0) 推荐(0) 编辑
摘要:<script> function 我会在加载完页面马上执行() { alert('我会在加载完页面马上执行'); } function 我只会在按钮点击时才执行() { alert('我会在加载完页面马上执行'); } $(function() { $('#btn1').on('click', 我 阅读全文
posted @ 2016-02-29 10:23 Ken-Cai 阅读(1772) 评论(0) 推荐(0) 编辑
摘要:错误写法 : var content = $('#Content').val(); 正确写法: var content = $(document.getElementsByTagName("iframe")[0].contentWindow.document.body).html() 如果得到的内容 阅读全文
posted @ 2016-02-17 18:02 Ken-Cai 阅读(1816) 评论(0) 推荐(0) 编辑
摘要:http://v.ku6.com/show/25vitTQThwzhYEFJCa5QNg...html 阅读全文
posted @ 2016-02-17 10:43 Ken-Cai 阅读(285) 评论(0) 推荐(0) 编辑
摘要:public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new CustomAuthorizeAttribute()); fi 阅读全文
posted @ 2016-02-16 17:24 Ken-Cai 阅读(398) 评论(0) 推荐(0) 编辑
摘要:关于Area的URL链接生成,可以分为这么三种情况:第一种是在当前Area生成指向当前Area的链接;第二种是生成指向其他Area的链接;第三种是在某个Area中生成指向根目录的链接。下面是这三种情况生成链接的方法,使用的路由定义是系统默认的。 如果要在Area中生成当前Area的URL链接,直接用 阅读全文
posted @ 2016-02-16 17:08 Ken-Cai 阅读(599) 评论(0) 推荐(0) 编辑
摘要:http://www.tuicool.com/articles/vY7BjeE 阅读全文
posted @ 2016-02-16 16:57 Ken-Cai 阅读(144) 评论(0) 推荐(0) 编辑
摘要:第一篇: 这个好像不太好 http://stackoverflow.com/questions/19553424/how-to-change-type-of-id-in-microsoft-aspnet-identity-entityframework-identityus 第二篇: http:// 阅读全文
posted @ 2016-02-16 11:39 Ken-Cai 阅读(239) 评论(0) 推荐(0) 编辑
摘要:如果是用户自己修改, 并且知道自己的原来的密码System.Web.Security.Membership.Provider.ChangePassword 如果是系统管理员要给用户修改密码, 一般情况下, 管理员不知道原来的密码MembershipUser mymem = Membership.GetUser(uname);//uname为要修改用户的帐号string p = mymem.ResetPassword();//将用户密码重置为一个自动生成的新密码mymem.ChangePassword(p, "newP@ssword"); 阅读全文
posted @ 2012-08-24 10:37 Ken-Cai 阅读(229) 评论(0) 推荐(0) 编辑
摘要:http://silverlightchina.net/html/download/books/2011/0309/5952.html 阅读全文
posted @ 2011-03-24 17:33 Ken-Cai 阅读(111) 评论(0) 推荐(0) 编辑
摘要:link href="%=ResolveUrl("~/javascript/astreeview/astreeview.css")%" type="text/css" rel="stylesheet" /link href="%=ResolveUrl("~/javascript/contextmenu/contextmenu.css")%" type="text/css" rel="stylesheet" /script src="%=ResolveUrl("~/javascript/astreeview/astreeview_packed.js")%" type="te 阅读全文
posted @ 2011-01-17 17:49 Ken-Cai 阅读(1811) 评论(0) 推荐(0) 编辑
摘要:Path.GetTempFileName() 阅读全文
posted @ 2010-06-09 12:47 Ken-Cai 阅读(547) 评论(0) 推荐(0) 编辑
摘要:http://wenwen.soso.com/z/q174134122.htm 阅读全文
posted @ 2010-06-07 15:03 Ken-Cai 阅读(226) 评论(0) 推荐(0) 编辑
摘要:WEB开发http://www.microsoft.com/china/msdn/Archives/catalog/web/MSDN 微软开发技巧系列网络讲座http://www.microsoft.com/china/msdn/events/webcasts/Webcast/webcasts.mspxMSDN 归档技术资源库http://www.microsoft.com/china/MSDN/... 阅读全文
posted @ 2010-05-27 14:38 Ken-Cai 阅读(261) 评论(0) 推荐(0) 编辑
摘要:http://msdn.microsoft.com/zh-cn/default.aspx 阅读全文
posted @ 2010-05-27 14:01 Ken-Cai 阅读(213) 评论(0) 推荐(0) 编辑
摘要:官方网站<body> <object id="factory" style="display:none" classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814" codebase="http://www.cnblogs.com/File/smsx.cab#Version=6,5,439,50"></object>... 阅读全文
posted @ 2010-05-21 09:48 Ken-Cai 阅读(1107) 评论(0) 推荐(0) 编辑
摘要:<OBJECT ID="com" width="0" height=0 type="application/x-oleobject" CLASSID="clsid:AD7A9B46-3065-11D3-9960-52544C1B6616" codebase="comocx.ocx" ></OBJECT> <OBJECT ID="mymedia" width=300 ... 阅读全文
posted @ 2010-05-20 10:37 Ken-Cai 阅读(274) 评论(0) 推荐(1) 编辑
摘要:http://www.xueit.com/html/2009-01/21_411_00.html 阅读全文
posted @ 2010-05-19 09:08 Ken-Cai 阅读(143) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示