Connecting SQLExpress codes
C#
2
Posts
2
Posters
0
Views
1
Watching
-
I need the C# codes snipset to establish a connection to a database [Club.mdf] created using SQlExpress bundled with visual studio.net 2005. Note: Am handling a web project. Thanks
-
I need the C# codes snipset to establish a connection to a database [Club.mdf] created using SQlExpress bundled with visual studio.net 2005. Note: Am handling a web project. Thanks
SqlConnection con = new SqlConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\\club.mdf"); using this statement u can connect to your club.mdf database
himanshu p.taunk