摘要: //这个就是解密ConnString,用解密后的串连接数据库就行啦这里需要引入一个加密的dllDesEncrypt.dlldbHelper.ConnectionString = DecryptPassword(System.Configuration.ConfigurationManager.ConnectionStrings[connectionStringName].ConnectionString);private static string DecryptPassword(string conn){int pos= conn.IndexOf("Password=") 阅读全文
posted @ 2012-05-23 17:30 Jimmy-Lee 阅读(224) 评论(0) 推荐(1) 编辑