12 2007 档案
摘要: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...
阅读全文
摘要:System.Web.HttpContext.Current.Server.MapPath(".")
阅读全文
摘要: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...
阅读全文
摘要:一、提高性能的方法: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
阅读全文

浙公网安备 33010602011771号