using System.Configuration;

namespace DBUtility
{
    public class PubConstant
    {
        //获得更有效最新技术源码看这里：http://www.51aspx.com/
        /// <summary>
        /// 获取web.config文件配置的连接字符串
        /// </summary>
        public static string ConnectionString
        {
            get
            {
                string _connectionString = ConfigurationManager.AppSettings["ConnectionString"];
                return _connectionString;
            }
        }
    }
}