Connecting to oracle DB with WiFi

  • Thread starter Thread starter GOGA
  • Start date Start date
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
 
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.
 
Back
Top