This is the exception I get:

"FbException was unhandled"
"No messsage for error code 335544721 found"

Im using this assemly:

FirebirdClient-2.0.1-Compact-Bin

Downloaded from firebirdsql.org

I made the change you told me but with the same results, this is the code:

  private void button1_Click(object sender, EventArgs e)
         {
             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);
             c.CommandType = System.Data.CommandType.Text;
             FbDataReader r = c.ExecuteReader();

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


             con.Close();
         }

Carlos Guzmán Álvarez escribió:
> Hello:
> 
>> What does "unknow exception" mean? The exception must be some type of.
> 
> And one more question, are you using an assembly built for the compact 
> framework. ??
> 
> -------------------------------------------------------------------------
> 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
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Firebird-net-provider mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to