摘要: net_lover:ODBC Driver for Text oConn.Open _ "Driver={Microsoft Text Driver (*.txt; *.csv)};" & _ "Dbq=c:\somepath\;" & _ "Extensions=a... 阅读全文
posted @ 2007-04-13 12:30 Nina 阅读(1546) 评论(0) 推荐(0) 编辑
摘要: DateTime dt1 = DateTime.Parse("2003-3-12 18:39:00");DateTime dt2 = DateTime.Parse("2003-3-12 18:51:00");TimeSpan ts = dt2-dt1;Console.WriteLine(ts.Days;);//得到天数使用正则表达式 ^(\\d{2}|\\d{4})-((0([1-... 阅读全文
posted @ 2007-04-13 12:13 Nina 阅读(1641) 评论(0) 推荐(0) 编辑