Windows Phone Thoughts - Daily News, Views, Rants and Raves

Check out the hottest Windows Mobile devices at our Expansys store!


Digital Home Thoughts

Loading feed...

Laptop Thoughts

Loading feed...

Android Thoughts

Loading feed...




Go Back   Thoughts Media Forums > WINDOWS PHONE THOUGHTS > Windows Phone Developer

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-19-2008, 03:59 PM
DannyZ
Neophyte
Join Date: Feb 2008
Posts: 1
Default Pocket PC to Desktop Oracle

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
 
Reply With Quote
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:36 PM.