摘要: 获取当前年的周数代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--///summary///获得今年有几周////summary///paramname="year"/param///returns/returnspublicintGetWeekOfYear(intyear){DateTimethe_Date=newDateTime(year,1,1);//本年的第一天TimeSpantt=the_Date.AddYea 阅读全文
posted @ 2010-12-31 23:44 唔愛吃蘋果 阅读(8187) 评论(0) 推荐(1) 编辑
摘要: 代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--%@PageLanguage="C#"AutoEventWireup="true"CodeBehind="Default.aspx.cs"Inherits="WebApplication1._Default"%!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xht 阅读全文
posted @ 2010-12-31 00:29 唔愛吃蘋果 阅读(1419) 评论(0) 推荐(0) 编辑