Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Pocket PC to Desktop Oracle

623987Feb 19 2008
Hi.
I am trying to connect desktop ORacle Server( oracle 11g) from my Windows Mobile 5 Pocket PC, I used Oracle.DAtaAccess.Lite to do this. I am using Visual Studio.Net 2005 C# smartdevice e.
the code in my project

OracleConnection con = new OracleConnection("Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.2)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)));uid=HBYS;pwd=masterkey;");
OracleCommand cmd = new OracleCommand("select * from yat_Pol", con);
OracleDataAdapter adap = new OracleDataAdapter(cmd);
adap.Fill(ds,"ypol");
dataGrid1.DataSource = ds.Tables["ypol"];

I tried OraDİrect Commponent but its trial. I cant use it. There is a solution for my problem. Please help
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 18 2008
Added on Feb 19 2008
0 comments
1,109 views