sql connection string problem
Hi,
I need to connect the sql database with the wifi,
and it work on the vb.net windows program, but there is error on pocket pc..
the connection string:
Private objconn As SqlConnection
objconn = New SqlConnection
objconn.ConnectionString = "Data Source=192.168.1.250,1433;Network Library=DBMSSOCN;Initial Catalog=db;User ID=simon;Password=123;"
objconn.Open()
but when using the emulator running which can connect the internet. and show the mssage :
An unhandled exception of type 'System.ArgumentException' occurred in System.Windows.Forms.dll
Additional information: Unknown connection option in connection string: network library.
:blush: sorry my english not well...hope help!!
Re: sql connection string problem
remove the Network Library=DBMSSOCN;