摘要: /// /// 获取指定年份的总天数。 /// /// 年份。 /// 返回指定年份的总天数。 public int DaysInYear(int year) { DateTime dt = new DateTime(year, 12, 31); return dt.DayOfYear; } /// /// 获取指定年份的总天数。 /// /// 年... 阅读全文
posted @ 2005-12-16 11:46 jeky 阅读(943) 评论(0) 推荐(0) 编辑
摘要: Insert news (cat) values (3); Select @@IDENTITY 在dotNet中取得该值:int tID = Convert.ToInt32(cmd.ExecuteScalar());注意:不能通过(int)转换。 阅读全文
posted @ 2005-12-16 00:42 jeky 阅读(640) 评论(3) 推荐(0) 编辑
友情链接:逗死了笑话网 | 网络记事本