I’m developing a windows form application. Could any one please advise what are the different ways I can connect to database and retrieve the data.
I know one way is through Webservice? Is there any other way? I am guessing no?
Any help much appreciated.
Your question is too general but let me try to answer it. In case the Data base server is across WAN you will need to expose some web service on server to expose the data from data base otherwise in case the database is in a LAN environment or on local machine you can use various data access components on .NET like ADO.NET, Linq to SQL, EF etc to access the database.