Klar. Weil er versucht, null in ein Double zu konvertieren. IF not myDataReader(2) is nothing then Istzeit(i) = CInt(myDataReader.GetDouble(2)*10) End if
-----Urspr�ngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von [EMAIL PROTECTED] Gesendet: Dienstag, 15. M�rz 2005 15:52 An: [email protected] Betreff: [Vb.net] Probleme beim Auslesen von leeren Feldern Hallo, ich habe ein Problem beim Auslesen von Feldern aus einer MS SQL 2000 - DB. Und zwar st�rtzt mein Script immer ab, wenn in einem Feld nichts drin steht. Istzeit(i) = CInt(myDataReader.GetDouble(2)*10) Gibt es eine M�glichkeit, diesen Umstand abzufangen? Vielen Dank schon mal. Gru� Ulli ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** _______________________________________________ Vb.net Mailingliste, Postings senden an: [email protected] An-/Abmeldung und Suchfunktion unter: http://www.glengamoi.com/mailman/listinfo/vb.net _______________________________________________ Vb.net Mailingliste, Postings senden an: [email protected] An-/Abmeldung und Suchfunktion unter: http://www.glengamoi.com/mailman/listinfo/vb.net
