蓝狐的技术思考 BlueFox Thinking in Tech...
交流,分享,探讨技术...... Communication, Sharing, and Discussion about Technology.....

导航

 

2007年4月10日

摘要: 在Enterprise Library - January 2006过去的版本中,可以用它自带的Enterprise Library Configuration工具直接进行web.config或者app.config配置文件的加密和解密,但是到了Enterprise Library - January 2006版本,我怎么也找不到怎么加密解密的配置项,原来在ASP.NET 2.0中,可以使用As... 阅读全文
posted @ 2007-04-10 11:38 蓝狐 阅读(168) 评论(0) 推荐(0) 编辑
 
摘要: Asp.net常用状态管理方案有: 视图状态View state隐藏域 Hidden FieldsCookiesQuery stringApplication stateSession stateProfile 其中View state, hidden fields, cookies, and query strings将值以不同的方式保存在客户端。而application state, se... 阅读全文
posted @ 2007-04-10 11:22 蓝狐 阅读(222) 评论(0) 推荐(0) 编辑
 
摘要: Page_Load和IsPostBack 在ASP.NET中,用户每次点击页面,包括点击页面上的控件,都会激发Page_Load事件。例如如下代码: void Page_Load(Object sender, EventArgs e) { // set up a connection and command here if (!Page.IsPostBack) { ... 阅读全文
posted @ 2007-04-10 11:21 蓝狐 阅读(206) 评论(0) 推荐(0) 编辑
 
摘要: 大家好象对控件设计时的讨论不多,是不是感觉功能实现就可以了,当然设计时支持是可有可无的.我敢说没有设计时支持的话,可能很多人不喜欢.net,正因为有设计时支持,更降低了.net学习的门槛.这次就简单的来看看,如果简单的实现你常用的几个功能.一.ControlDesigner类ControlDesigner作为web服务器控件的设计器的基类,你可以扩展此类. 总之你了解这个类以后你会发... 阅读全文
posted @ 2007-04-10 11:06 蓝狐 阅读(168) 评论(0) 推荐(0) 编辑
 
摘要: getElementById getElementsByName getElementsByTagName 大概介绍 getElementById ,getElementsByName ,getElementsByTagName 后两个是得到集合,byid只是得到单个对象 getElementById 的用法 举个例子: 网页陶吧 同一页面内的引用方法: 1、使用i... 阅读全文
posted @ 2007-04-10 11:00 蓝狐 阅读(352) 评论(0) 推荐(0) 编辑
 
摘要: 原作出处:http://www.codeproject.com/useritems/tips.asp?df=100 一..Net Framework 1. 如何获得系统文件夹 使用System.Envioment类的GetFolderPath方法;例如: Environment.GetFolderPath( Environment.SpecialFolder.Personal ) 2. 如何获得正... 阅读全文
posted @ 2007-04-10 10:40 蓝狐 阅读(234) 评论(0) 推荐(0) 编辑