public abstract class DBHelper { public static string connectionString = @"DATA SOURCE=.\sqldata;UID=sa;PWD=bkin123;DATABASE=bkintest";//ConfigurationManager.ConnectionStrings["database"].ConnectionString; public DBHelper() { //connect…
一,微软SQLHelper.cs类 中文版: using System; using System.Data; using System.Xml; using System.Data.SqlClient; using System.Collections; namespace Classbao.Data { /// <summary> /// SqlServer数据访问帮助类 /// </summary> public sealed partial class SqlHelper…