I dont know why it wasnt workings yesterday, i didnt changed much in the code, but now its working as i expected, thanx for your time and patience :)
FbCommand cmd = new FbCommand("SELECT CLI_COD FROM CLIENTES WHERE CLI_NOME='" + txtUsuario.Text.ToString() + "'", cn);
try {
int i = (int) cmd.ExecuteScalar();
if(i > 0) {
this.Close();
}
}
On 4/27/06, Jiri Cincura <[EMAIL PROTECTED]> wrote:
On 28.4.2006 0:00 Jiri Cincura wrote:
> are you getting still the error. If not, you have some bug in your code.
> Try to use debugger to get the line number, where the null reference
And debugger also provides a lot of useful information.
--
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?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider