using System; using System.Configuration; using System.Data; using System.Data.SqlClient; namespace ADO连接数据库 { public static class SqlHelper { //首先是连接字符串 private static readonly string Strcon = ConfigurationManager.ConnectionStrings["mssqlserver"…
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Web; namespace resume.Helper { public static class SqlHelper { public static readonly string c…
1: using System; 2: using System.Collections.Generic; 3: using System.Linq; 4: using System.Text; 5: using System.Data; 6: using System.Data.SqlClient; 7: using System.Reflection; 8: 9: namespace DAL 10: { 11: public class SqlHelper 12: { 13: private…