摘要:
1.MSproject.cn NET资源站点汇总 编号:001 http://code.msdn.microsoft.com/Project/ProjectDirectory.aspx?TagName=.NET ***********************... 阅读全文
摘要:
1.How to add javascript or stylesheet to header of asp.net page? 2.Error logging techniques using Database 3.基于HTTP长连接的“服务器堆”技术 4.各种统计图用.net实现 5.System.IO.Compression Namespace 6.Display Images i... 阅读全文
摘要:
如果父div的position定义为relative,子div的position定义为absolute,那么子div的style.left的值是相对于父div的值, 这同offsetLeft是相同的,区别在于: 1. style.left 返回的是字符串,如28px,offsetLeft返回的是数值28,如果需要对取得的值进行计算, 还用offsetLeft比较方便。 2. style.left是... 阅读全文
摘要:
一直以为offsetParent和parentElement是一回事,最近在做web控件才发现原来的理解是大错特错。 parentElement 在msdn的解释是Retrieves the parent object in the object hierarchy. 而offsetParent在msdn的解释是Retrieves a reference to the contain... 阅读全文
摘要:
ObjectDataSource.Selected Event Occurs when a Select operation has completed. Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 2 3 8 9 ... 阅读全文
摘要:
Page.InitializeCulture Method Sets the Culture and UICulture for the current thread of the page. Namespace: System.Web.UI Assembly: System.Web (in System.Web.dll) Code Code highlighting prod... 阅读全文
摘要:
The ASP.NET configuration API allows you to develop, deploy, and manage application configuration data by using a single programming interface. Using the configuration API, you can develop and modi... 阅读全文
摘要:
转载地址:http://www.svnhost.cn/Article/Detail-23.shtml 1. 1 2.新建一个独立用户登录的类: using System; using System.Collections.Generic; using System.Text; using System.Web; using System.Web.Security; namespace BLL {... 阅读全文
摘要:
链接地址:http://msdn.microsoft.com/en-us/library/system.web.caching.cacheitemremovedcallback.aspx Defines a callback method for notifying applications when a cached item is removed from the Cache. 1 2 ... 阅读全文
摘要:
请按任意键,你将得到该键的键值! keycode 0 = keycode 1 = keycode 2 = keycode 3 = keycode 4 = keycode 5 = keycode 6 = keycode 7 = keycode 8 = BackSpace BackSpace keycode 9 = Tab Tab keycode 10 = keycode 1... 阅读全文
摘要:
1..NET Role-Based Security in a Production Environment 2.Google's Static Map API WebControl 3.Check if JavaScript is Enabled from Server-Side Using an User Control 4.A .NET API for the Google Maps G... 阅读全文
摘要:
静态构造函数用于初始化任何静态数据,或用于执行仅需执行一次的特定操作。在创建第一个实例或引用任何静态成员之前,将自动调用静态构造函数。 1class SimpleClass 2{ 3 // Static constructor 4 static SimpleClass() 5 { 6 // 7 } 8} 静态构造函数具有以下特点: 静态构... 阅读全文