G
Guest
I've using Pocket PC 2002 and 2003 with SQL Server CE 2.0 installed
I'm trying using Visual Studio .NET 2003 and C# to connect to SQL Server 2000 SP3
Using the following lines of code I can connection to a default instance of SQL Server using the emulator and the PDA
System.Data.SqlClient.SqlConnection conn = new System.Data.SqlClient.SqlConnection()
conn.ConnectionString = @"User ID=sa;Initial Catalog=databasename;Data Source=servername"
conn.Open()
Using the following ConnectionString I can connection to a named instance of SQL Server using the emulator, but NOT using the PDA
conn.ConnectionString = @"User ID=sa;Initial Catalog=databasename;Data Source=servername\instancename"
I've tried a Pocket PC 2002 and 2003 and both get the following error "Specified SQL server not found".
Any ideas or help?
I'm trying using Visual Studio .NET 2003 and C# to connect to SQL Server 2000 SP3
Using the following lines of code I can connection to a default instance of SQL Server using the emulator and the PDA
System.Data.SqlClient.SqlConnection conn = new System.Data.SqlClient.SqlConnection()
conn.ConnectionString = @"User ID=sa;Initial Catalog=databasename;Data Source=servername"
conn.Open()
Using the following ConnectionString I can connection to a named instance of SQL Server using the emulator, but NOT using the PDA
conn.ConnectionString = @"User ID=sa;Initial Catalog=databasename;Data Source=servername\instancename"
I've tried a Pocket PC 2002 and 2003 and both get the following error "Specified SQL server not found".
Any ideas or help?