Connect SQL Server 2005 from VS.Net 2005
C#
2
Posts
2
Posters
0
Views
1
Watching
-
I need the C# code snipset to establish a connection with a database [LabourData.mdf] created from SQL Server 2005. 've used this but the connection was not effective: public string conet() { return "server=.;initial catalog=LabourData;uid=sa;pwd=solutions!" } Note: Am new to SQL Server 2005 Thanks
-
I need the C# code snipset to establish a connection with a database [LabourData.mdf] created from SQL Server 2005. 've used this but the connection was not effective: public string conet() { return "server=.;initial catalog=LabourData;uid=sa;pwd=solutions!" } Note: Am new to SQL Server 2005 Thanks
Don't double post! If you need connection string have a look at connection strings/[^]
#region signature my articles #endregion