hallo there
This is a very basic question. I am currently a student and have done ASP.NET with C#. For our purposes it was required to do work with an access database where connecting to it and adding data etc.was very easy.
My feeling is that access is not used much in the real world and would just like to enquire on the easiest and most correct way of establishing a connection to Microsoft Sql Server Database(Transact sql). In my case the database is called dbActivities with primary data file being dbActivitiesData.mdf.
OleDbDataConnection conn;
conn = new OleDbConnection = @"Provider=Microsoft.Jet.Oledb.4.0:"
@"Data Source=DataBase.mdb";
conn.Open();
Regards