using System; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Collections; namespace MyCorporation.DepartMent.DataBase { /// /// 通用数据库类 /// public class DataBase { private string ConnStr = null; public DataB
本文实例为大家分享了ADO.NET通用数据库访问类,供大家参考学习,具体内容如下
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
namespace Test
{
public class DBHelper
{