using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; namespace Common { /// <summary> /// AppSettings操作类,作者:Ward /// </summary> public class ConfigHelper { /// <summary> /// 获取…
C#全能数据库操作类及调用示例 using System; using System.Data; using System.Data.Common; using System.Configuration; namespace MSCL { /// /// DbHelper通用数据库类 /// public class DbHelper { /// /// /// private static string dbProviderName = ConfigurationManager.AppSett…
注意添加引用:System.Configuration: using System; using System.Collections.Generic; using System.Text; using System.Configuration; namespace DotNet.Utilities.配置文件操作类 { public class ConfigHelper_sufei { /// <summary> /// 根据Key取Value值 /// </summary> //…