摘要: 一、提高性能的方法: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) 编辑