On 27.4.2006 21:20 Fabio Gomes wrote:
This compiled but gave me this error when i executed the select:

System.NullReferenceException: Object reference not set to an instance of an object. at Sistema.frmLogin.btnOk_Click(Object sender, EventArgs e) in D:\Documents and Settings\suporte\Meus documentos\Visual Studio 2005\Projects\SGC\Sistema de Gestão Comercial\frmLogin.cs:line 30

oh god.. why this have to be so complicated?


Yes, because your resultset resp. the scalar result is empty. You have to check, whether the returned value contains something - it's the prog. basic.

--
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&kid0709&bid&3057&dat1642
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to