public static PetShop.IDAL.IItem CreateItem()
        {
            string path = System.Configuration.ConfigurationSettings.AppSettings["WebDAL"];
            //web.config's <appsettings> use sqlserverDAL's information  .code:<add key="WebDAL" value="PetShop.SQLServerDAL" />
            string className = path + ".Item";
            //return petshop.sqlserverdal.item 
            return (PetShop.IDAL.IItem)Assembly.Load(path).CreateInstance(className);
            //assembly.load(path) meaning :1.the load is with  petshop.sqlserverDAL.dll 2.create petshop.sqlserverdal.item's instance 
            //3.return interface IItem 4.while bll use IItem interface , bll  have been petshop.sqlserverdal.item class code        }
调试时错误为:
/警告 “System.Configuration.ConfigurationSettings.AppSettings”已过时:“This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings”
这是为什么啊??怎么改啊???