Pocket PC Thoughts - Daily News, Views, Rants and Raves

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





Go Back   Thoughts Media Forums > POCKET PC THOUGHTS > Pocket PC Developer

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-19-2008, 03:59 PM
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=1 92.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
Reply


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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 10:28 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 RC7