int i = cmd.ExecuteScalar();
Its simple, i just want to get a int value with the CLI_COD, but i dont know how to convert it, the error says:
Error 1 Cannot implicitly convert type 'object' to 'int'. An explicit conversion exists (are you missing a cast?)
Thanx.
On 4/27/06,
Jiri Cincura <[EMAIL PROTECTED]> wrote:
On 27.4.2006 19:57 Fabio Gomes wrote:
> I tried it, and it says it cant convert and object and blá blá blá...
>
> How can i convert it to an int value so i can check if it returned true
> or false?
>
> Thanx for the quick reply.
Paste here the piece of code, so we'll be able to send you much better
reply.
--
Jiri Cincura
http://www.cincura.net/
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider