摘要: 阅读全文
posted @ 2006-10-19 14:59 RobotTech 阅读(190) 评论(0) 推荐(0) 编辑
摘要: Page_Load: If Not Page.IsPostBack Then '--------------------------下面的是错误的 如果2006-10-31 那么-1月 就是 2006-9-31 所以是错误的 Dim year, month, day As Integer day = Now.Day ... 阅读全文
posted @ 2006-10-19 14:53 RobotTech 阅读(771) 评论(0) 推荐(0) 编辑
摘要: Dim SMS_UploadFiles_Path As String = System.Configuration.ConfigurationSettings.AppSettings("SMS_UploadFiles_Path") 'Dim mPath As String = Server.MapPath(SMS_UploadFiles_Path) + "\" ... 阅读全文
posted @ 2006-10-19 14:43 RobotTech 阅读(6728) 评论(27) 推荐(0) 编辑
摘要: 复制文件:FileInfo fiMyfile = new FileInfo(@"C:\123\456.txt"); if(fiMyfile.Exists) { fiMyfile.CopyTo(@"D:\123\456.txt", true); } 删除文件:FileInfo fiMyfile = new FileInfo(@"C:\123\456... 阅读全文
posted @ 2006-10-19 14:39 RobotTech 阅读(1975) 评论(1) 推荐(0) 编辑