上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 22 下一页
摘要: http://www.cnblogs.com/donghaiyiyu/archive/2007/07/29/828738.html在所有关于C#事件机制的介绍中,我更倾向于发布者/订阅者(Publisher/Subscriber)这种描述。理解事件机制并不是一件容易的事情,它所涉及的思想值得我们好好去研究。谈到事件,我们涉及到两个角色:事件发布者(Publisher)和事件订阅者(Scriber),也可以说是事件发送者(Sender)和事件接收者(Receiver)的关系。举个例子来说,市面上目前有许多杂志,杂志的种类也很多。而我只对其中的某些感兴趣,那么我就可以向杂志发行商提出订阅。之后,每 阅读全文
posted @ 2012-10-18 11:17 webglcn 阅读(800) 评论(0) 推荐(0) 编辑
摘要: 1.class AA : IA; class AB : AA, IA (inherit IA here is useless)2.long == Int64 in .net. 阅读全文
posted @ 2012-10-16 11:17 webglcn 阅读(145) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/wenanry/archive/2009/08/06/1540777.html 阅读全文
posted @ 2012-10-08 13:57 webglcn 阅读(91) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <style> body{ background: url(index.gif) repeat fixed top;} </style></head></html>-------------------Here is the image index.gif---------------- 阅读全文
posted @ 2012-09-29 14:59 webglcn 阅读(197) 评论(0) 推荐(0) 编辑
摘要: Refer to http://zhidao.baidu.com/question/129465844.html&__bd_tkn__=26bf1e352b05802a4a14e964a08a27ae8d14dfeb8078338d51fed8133ea5c69d362ad36bb4bcda3b39bb3949f6bbe47087ac3af56e60b1f4e7eb6015795ef4369b62a1fc5a0f03de0125270fd43bca7a4f76e8757f29c384d73d357e725c475dbf6102414ec5d9dee97efbaccbdc8d03c33d 阅读全文
posted @ 2012-09-29 09:08 webglcn 阅读(12138) 评论(0) 推荐(0) 编辑
摘要: You can share views between controllers by putting them into the Views/Shared folder. Each controller can then render that view by name.You can render a partial view (which can be shared between controllers as in (1)) within the current view using Html.Partial().You can use Html.Action() to invoke a 阅读全文
posted @ 2012-09-28 10:53 webglcn 阅读(309) 评论(0) 推荐(0) 编辑
摘要: Refer to http://www.em64t.net/2010/12/razor-html-renderpartial-vs-html-partial-html-renderaction-vs-html-action-what-one-should-use/Html.RenderAction VS Html.ActionThe difference between the two is that Html.RenderAction will render the result directly to the Response (which is more efficient if the 阅读全文
posted @ 2012-09-28 10:35 webglcn 阅读(257) 评论(0) 推荐(0) 编辑
摘要: Refer to http://stackoverflow.com/questions/31044/is-there-an-exists-function-for-jqueryjQuery.fn.exists =function(){returnthis.length>0;}if($(selector).exists()){ // Do something} 阅读全文
posted @ 2012-09-27 14:53 webglcn 阅读(163) 评论(0) 推荐(0) 编辑
摘要: Jquery dialog UI refer to http://blog.nemikor.com/2009/04/08/basic-usage-of-the-jquery-ui-dialog/1. Create a httphandler (New Item -> Generic httphanler)namespace TstOpenDialog_SevCallCliScri{ public class DialogMessageHandler : IHttpHandler { public void ProcessRequest(HttpContext cont... 阅读全文
posted @ 2012-09-27 13:15 webglcn 阅读(373) 评论(0) 推荐(0) 编辑
摘要: 1. Add following into web.config. <system.web> <httpModules> <add name="CustomAuthorizationModule" type="TstHttpModule.CustomAuthorizationModule" /> </httpModules>2. Create a class into appdata folder2.1 Session is not null for the first time.2.2 OnAcquire 阅读全文
posted @ 2012-09-26 13:12 webglcn 阅读(182) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 22 下一页