Article View: pl.comp.lang.vbasic
Article #104278reader.getstring null
From: Jędruś
Date: Sat, 29 Aug 2009 21:15
Date: Sat, 29 Aug 2009 21:15
13 lines
1499 bytes
1499 bytes
witam odczytuje dane z bazy za pomocą SQLDataReader`a, czyli: if not reader.getstring(nrpola) = system.dbnull then wartosc = reader.getstring(nrpola) end if ale mi krzyczy: " 'dbnull' is a type in 'system' and cannot be used as an expression " co muszę zrobić, aby zadziałało sprawdzenie.
Technical Details
Message-ID:
<c21664e6-68e7-4649-9711-976f97841db3@p23g2000vbl.googlegroups.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!feed.news.interia.pl!news.nask.pl!news.nask.org.pl!goblin1!goblin.stu.neva.ru!postnews.google.com!p23g2000vbl.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!feed.news.interia.pl!news.nask.pl!news.nask.org.pl!goblin1!goblin.stu.neva.ru!postnews.google.com!p23g2000vbl.googlegroups.com!not-for-mail From: Jędruś <anowacki.pila@interia.pl> Newsgroups: pl.comp.lang.vbasic Subject: reader.getstring null Date: Sat, 29 Aug 2009 14:15:09 -0700 (PDT) Organization: http://groups.google.com Lines: 13 Message-ID: <c21664e6-68e7-4649-9711-976f97841db3@p23g2000vbl.googlegroups.com> NNTP-Posting-Host: 86.63.105.127 Mime-Version: 1.0 X-Trace: posting.google.com 1251580510 5567 127.0.0.1 (29 Aug 2009 21:15:10 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 29 Aug 2009 21:15:10 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: p23g2000vbl.googlegroups.com; posting-host=86.63.105.127; posting-account=96L34woAAADPw3buWDWlsliW2KsLUmpO User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30618),gzip(gfe),gzip(gfe) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit