Hi guys I've been trying to connect my c# file to my database file(in .mdf format created in SQL Server Management Studio 2008). So basically I used visual studio 2008 for my C# file and SQL Server Management Studio 2008 for my database file. Now I'm sure that the naming conventions that I used in C# are the same as the naming conventions with my .mdf database file.
Now I tried to follow the instructions written in this link: http://www.homeandlearn.co.uk/csharp/csharp_s12p1.html
Unfortunately I wasn't able to make it run properly, I mean whenever I type data in my c# app it doesn't appear on the tables that I executed in my .mdf file in management studio... I will upload the files both the C# app and the database file so you can test it, and I hope the link that I have included in this post will be a bit helpful. Please inform me guys how you did it if ever you were able to connect and run them properly. All helps will be very appreciated. Thanks in advance!