摘要: [MySQL] -MySQL连接字符串总结(非原创)来源:http://blog.sina.com.cn/s/blog_5f0dab1e0100e4pv.html?retcode=0一、MySQL Connector/ODBC 2.50 (MyODBC 2.50)连接方式1、本地数据库连接Driver={MySQL};Server=localhost;Option=16834;Database=myDataBase;2、远程数据连接Driver={MySQL};Server=myServerAddress;Option=131072;Stmt=;Database=myDataBase; Use 阅读全文
posted @ 2013-01-04 14:37 姜大伟 阅读(700) 评论(0) 推荐(0) 编辑
摘要: using System.Security.Cryptography;需要引用这个命名空间MD5 md = new MD5CryptoServiceProvider(); string source = "aiawaysrain"; byte[] s = Encoding.Default.GetBytes(source); byte[] output = md.ComputeHash(s); string outstring = BitConverter.ToString(output).Replace("... 阅读全文
posted @ 2013-01-04 09:37 姜大伟 阅读(227) 评论(0) 推荐(0) 编辑