10 2009 档案

摘要:HTTP是无状态的协议,在Web Server 响应页面请求之后,客户端和Web Server会断开,Web Server为该请求创建的页面对象会被销毁掉。这样可以保证Server可以最大化同时响应客户请求能力,同时也减少了对Server端内存开销的压力。但是这样缺点也是显而易见的,需要用另外方法来记住页面当前的相关状态,以便Server端作相应的处理。ASP.NET提供了以下几种方式来进行状态管理:(1) ViewState(2) QueryString(3) Customer Cookies(4) Session State(5) Application State(6) Profile. 阅读全文
posted @ 2009-10-27 22:03 FangwenYu 阅读(1441) 评论(0) 推荐(0)
摘要:Abstract: 通过一个简单的 web application, 学习以下内容: (1) ListView control (2) User control (3) Handle ViewState in User control (4) FindControl() usage, especially when there is a Master page. 本文主要讲述第二部分,即User Control的用法 需求背景: 如果想把列Pass Rate由现在的单纯的数字表示转换成进度条显示,该怎么办? ====> 这个进度条可以通过创建一个Web User Control来实现。 阅读全文
posted @ 2009-10-25 11:41 FangwenYu 阅读(212) 评论(0) 推荐(0)
摘要:Abstract: 这个读书笔记系列是关于Tom的大作《Expert Oracle Database Architecture》 Chapter 2: Architecture Overview 1. Oracle and Instance Oracle: A collection of physical operating system files or disk. Instance: b... 阅读全文
posted @ 2009-10-25 10:31 FangwenYu 阅读(283) 评论(0) 推荐(0)
摘要:Abstract: 这个读书笔记系列是关于Tom的大作《Expert Oracle Database Architecture》 Chapter 1: Developing Successful Oracle Application 1. Bitmap index In the first session: Note: Don’t commit or rollback for now. Se... 阅读全文
posted @ 2009-10-25 10:25 FangwenYu 阅读(537) 评论(0) 推荐(0)
摘要:Abstract: IL directives: ld<xxx>: load xxx onto stack st<xxx>: pop off stack into xxx (1) ldarg.<length> - load argument onto the stack Format Assembly Format Description FE 09 ... 阅读全文
posted @ 2009-10-24 11:23 FangwenYu 阅读(327) 评论(0) 推荐(0)
摘要:Abstract: 通过查看IL来了解下声明在using语句中的对象是在try语句外面实例化还是在try里面实例化。 举例来说,下面的c# code 1: using(FileStream aFs = new FileStream(@"c:\test.txt", FileMode.Open)) 2: { 3: // Do noting... 4: }是对应下面的那种情况呢?(1) 1: File... 阅读全文
posted @ 2009-10-24 11:12 FangwenYu 阅读(236) 评论(0) 推荐(0)
摘要:Abstract: 通过一个简单的 web application, 学习以下内容:(1) ListView control(2) User control(3) Handle ViewState in User control(4) FindControl() usage, especially when there is a Master page. 本文主要讲述第一部分,即如何使用ListView控件。虽然GridView功能非常强大,但是有时候用GridView却不是非常方便。比如说要实现下面这个页面, 、数据结构是分层次,第一层次是student的基本信息,第二层是该student的 阅读全文
posted @ 2009-10-22 22:08 FangwenYu 阅读(268) 评论(0) 推荐(0)
摘要:最近工作中需要把XML文件按照一定的格式转成PDF文件,需要写一些XSL文件把对应的XML文件中的数据按照相应的格式成PDF文件,因此了解了下XSL的基本用法。 把XML转换成PDF用到的是FOP工具包,主要用法如下: 1: private const string COMMAND_LINE = "Tools\\jre\\bin\\java"; 2: private const string COMMAND_LINE_ARGUMENTS = "-cp Tools\\fop\\lib\\fop.jar;Tools\\fop\\lib\\xml-apis-1.3.02 阅读全文
posted @ 2009-10-19 21:06 FangwenYu 阅读(309) 评论(0) 推荐(0)