11 2008 档案

摘要: There are two types of state management - server side and client side. In this post I'm going to introduce the client side state management and explain when to choose client side or server side state management. Client Side State Management TechniquesClient side state management include the foll阅读全文
posted @ 2008-11-07 08:35 known| 编辑
摘要: In this article, we will see how to pass javascript values on postback and then access these values in your server side code. This article will primarily showcase two techniques of doing so. One using Hidden variables and the other using the __doPostBack() javascript method.Using Hidden Variables – 阅读全文
posted @ 2008-11-07 08:33 known| 编辑
摘要: IDisposable模式不是经典的GOF模式之一,主要是实现IDisposable接口,这在.Net Framework中很常见,当用using语句时,实现这个接口的类在释放资源时自动释放。例如我们在开发中经常用到事务控制,这时我们写一个事务控制类,让它继承IDisposable接口。阅读全文
posted @ 2008-11-04 14:06 known 阅读(108) | 评论 (0) 编辑