07 2008 档案

洛书(九宫)
摘要:给出1,2,3,……,9,这9个数字,请将他们排成一个三行三列的数字方阵,它的每行,每列和每个对角线上三个数字之和都相等。 这里我写了一个思路比较简单的方法(C#) public static void JiuGong() { //默认格式为: // n1,n2,n3 // n4,n5,n6 ... 阅读全文

posted @ 2008-07-23 11:30 HC 阅读(761) 评论(0) 推荐(0)

asp.net与.net编程常用函数与方法汇总
摘要:1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 int 月=currentTime.Month; 1.4 取当前日 i... 阅读全文

posted @ 2008-07-16 10:24 HC 阅读(370) 评论(1) 推荐(0)

Javascript 刷新框架及页面的方法
摘要:location.reload和history.go(0) 不过后者有个好处,能保持页面滚动条的位置 location.href = location.href 这在弹出窗口里刷页面有效,而前两者会失效 ----------------------------------------------------------------------------------... 阅读全文

posted @ 2008-07-11 11:05 HC 阅读(634) 评论(3) 推荐(0)

导航