1.webconfig
2.DBUtility.PubConstant
3.DbHelperSQL类中声明一个public static string connectionString
4.在每一个SQLServerDAL中的数据库表类中的构造函数中为connectionString 赋值
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3