Im trying to make to make a simple application for Windows CE using the 
FB client for the compact framework, I have the next code:

  string cs = 
"User=SYSDBA;Password=masterkey;Database=c:\\imagenco\\dbi\\dobleb\\gasconsola.fdb;DataSource=192.168.0.151;";
             FbConnection con = new FbConnection(cs);
             con.Open();

             FbCommand c = new FbCommand("SELECT * FROM DPVGBOMB", con);
             FbDataReader r = c.ExecuteReader();

             while (r.Read())
             {
                 listBox1.Items.Add(r.GetString(0));
             }


             con.Close();


But it shows and unknow exception in he line:
   con.Open()


What's the problem here? the code works fine in the full not compact 
framework.

(I use the WindowsCE emulator included in VS 2005 to test it).

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Firebird-net-provider mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to