摘要: In general, we shall see that recursion is a very powerful technique for dealing with hierarchical, treelike objects. 2008-01-03 1.The general form of a procedure definition is (define ( ) ) 2.The ge... 阅读全文
posted @ 2007-12-28 17:18 QiutongChen 阅读(158) 评论(0) 推荐(0) 编辑
摘要: System.Web.HttpContext.Current.Server.MapPath(".") 阅读全文
posted @ 2007-12-28 11:59 QiutongChen 阅读(116) 评论(0) 推荐(0) 编辑
摘要: msdn并没有详细的说明清楚,给了一个例子; Math.Round(3.44, 1); //Returns 3.4. Math.Round(3.45, 1); //Returns 3.4. Math.Round(3.46, 1); //Returns 3.5. 依照他的例子得到的是"五舍六入",我改变了一下数字得到的结果将完全改变。 Math.Round(3.445, 1); //Returns... 阅读全文
posted @ 2007-12-28 10:52 QiutongChen 阅读(2241) 评论(0) 推荐(0) 编辑
摘要: 一、提高性能的方法:1.Remember that database access is relatively expensive—itconsumes both time and resources.2.應用一個控件屬性多次是,最好先把屬性放到一個局部變量中二、處理錯誤1.防禦代碼In general, you should always check incoming parameters if the method is a public one—that is, it iscalled from outside the class. If it’s a method that isn’t 阅读全文
posted @ 2007-12-27 17:39 QiutongChen 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 最新研究表明,如今的年轻人正在变傻。理由很简单,玩电脑。日本的一项调查显示,越来越多的16岁到30岁的青年人因为对信息技术的依赖与日俱增,除了会导致身体姿态的损害,可能还会带来偏头痛、记忆力衰退、心神不定和注意力不能集中的障碍。受记忆力衰退困扰的人们抱怨说,他们记不起名字、写过的东西以及约会,在某些情况下不得不放弃自己的工作。许多专家认为信息超载正使得某些人无法吸收新信息,因为他们大脑用于... 阅读全文
posted @ 2007-11-01 16:32 QiutongChen 阅读(988) 评论(1) 推荐(0) 编辑
摘要: GRIDVIEW 用法 (轉自http://blog.tom.com/blog/read.php?bloggerid=960920&blogid=62684) 一、GridView和DataGrid的异... 阅读全文
posted @ 2007-11-01 13:51 QiutongChen 阅读(289) 评论(0) 推荐(0) 编辑