Connecting From PDA to SQLServer

Joined
Mar 30, 2006
Messages
1
Reaction score
0
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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top