摘要:
方法一:Convert.ToDateTime(string) string格式有要求,必须是yyyy-MM-dd hh:mm:ss 方法二:Convert.ToDateTime(string, IFormatProvider) DateTime dt; DateTimeFormatInfo dtFo 阅读全文
posted @ 2017-10-25 16:39
qqhfeng16
阅读(529)
评论(0)
推荐(0)
摘要:
1、首先先在工程里添加system.configuration.dll程序集的引用 //访问数据库连接字符串string connStr1 = System.Configuration.ConfigurationManager.ConnectionStrings["TQ电力.Pr... 阅读全文
posted @ 2017-10-25 15:21
qqhfeng16
阅读(1505)
评论(0)
推荐(0)
浙公网安备 33010602011771号