Connecting to oracle DB with WiFi

G

GOGA

hello everybody....
i searched this newsgroup....but i didn't find all what i seek..
my situation is that:
(1) i want to connect to a PC from My PPC using WiFi Network, and
sending data to it( like a file)...How to do that?
(2) i want to insert data into a Oracle DB in the PC from my PPC with
the WiFi Connection....

please help me in this situation....

GOGA
 
M

Martin Robins

Goga,

You can connect to file shares from the PPC simply by specifying the share
name in the path (for example \\MyServer\MyShare\MyFile.txt. The first time
that you connect you will be prompted for any required security
authentication for that share (I have yet to find a way around this).

Connecting to Oracle will require the use of the OracleClient ADO.NET
provider; I do not recall if this is supported by the .NET CF but you should
be able to find out quickly using the online help. If it is supported,
connection would be something like (C#) ...

using (OracleConnection connection = new OracleConnection("MyServer")) {
connection.Open();
using (OracleCommand command = new OracleCommand("MyCommand",
connection)) {
command.ExecuteNonQuery();
}
}

Martin.
 

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