Author: mariapatrawala | Posted on: 8/25/2008 4:17:33 AM | Views : 429

Hi...I am new to ASP.Net and Web Services. I have 3 parts in my project.Part 1. RRIS which contains App_Code, App_Data etc and few .aspx files. Part 2. Business layer files Part 3. Data Layer files . Have a file clsOracle.cs within DataLayer which contains functions to retrieve data from database. Instance of this file is created in a file CernerDB.cs within BusinessLayer. Requirement is such that user will be able to access db using clsOracle.cs and also add a webservice to access database. I used appSettings in webConfig file to provide switching options i.e. either use current clsOracle.cs or use webservic eto access db. I added a webservice and by default a file webService.cs was create din App_Code folder. I added this piece of code in CernerDB.cs
            DataSet ds = null;
            if (ConfigurationSettings.AppSettings["MethodToUse"].Equals ...

Go to the complete details ...