摘要: 使用方法:新建c#控制台应用程序,将下面的代码拷贝进去就可以使用了。代码解释见注释。例1using System;using System.Security.Cryptography;using System.Text;class Example{ // Hash an input string and return the hash as // a 32 character hexadecimal string. static string getMd5Hash(string input) { // Create a new instance of th... 阅读全文
posted @ 2009-12-30 21:05 xwdreamer 阅读(813) 评论(0) 推荐(0)
摘要: 引用:http://www.cnblogs.com/mikemao/archive/2009/02/02/1382694.htmlAppSettings是ASP.NET1.1时期用的,在.NET Framework 2.0中,新增了ConnectionStrings.1.ConnectionStrings的使用<connectionStrings> <add name="ConnectionStringName" connectionString="Data Source=服务器名;Initial Catalog=数据库名;User ID=用户; 阅读全文
posted @ 2009-12-30 13:05 xwdreamer 阅读(465) 评论(0) 推荐(0)