Hi,
can anybody help me tracing my problem.
Im am having an application on a PDA with os windows ce.net 4.1.
I want to connect to an sqlserver 2000 in the local network to select and insert data.
but already the connect is failing.
i ahve written a simple application which should asstablish a databaseconnection and close it again.
Running it on the emulator is working nice but from the pda i am getting a IvalidMethosException.
this is the coding i am using:
Try
DBVerbindung = New Data.SqlClient.SqlConnection("User ID=sa;Password=sa;database=PDAVERS;server=192.168.180.193;")
DBVerbindung.Open()
DBVerbindung.Close()
Catch ex As Exception
MessageBox.Show(ex.ToString)
End Try
thanks in advance for any help!
can anybody help me tracing my problem.
Im am having an application on a PDA with os windows ce.net 4.1.
I want to connect to an sqlserver 2000 in the local network to select and insert data.
but already the connect is failing.
i ahve written a simple application which should asstablish a databaseconnection and close it again.
Running it on the emulator is working nice but from the pda i am getting a IvalidMethosException.
this is the coding i am using:
Try
DBVerbindung = New Data.SqlClient.SqlConnection("User ID=sa;Password=sa;database=PDAVERS;server=192.168.180.193;")
DBVerbindung.Open()
DBVerbindung.Close()
Catch ex As Exception
MessageBox.Show(ex.ToString)
End Try
thanks in advance for any help!