Wrox Programmer Forums
|
BOOK: Beginning VB.NET Databases
This is the forum to discuss the Wrox book Beginning VB.NET Databases by Thearon Willis; ISBN: 9780764568008
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning VB.NET Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 1st, 2005, 10:48 AM
Registered User
 
Join Date: Jun 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Checking for Null Values

Can someone provide some information on checking for NULLs with a DataReader and ListView. Especially referencing the code as it stands by chapter 6.The information in the book on Nulls is short and seems to be aimed at use with a DataSet, or am I wrong? Otherwise it is a great book and has helped enomously.

 
Old June 3rd, 2005, 04:40 AM
Thearon's Avatar
Wrox Author
 
Join Date: Dec 2003
Posts: 396
Thanks: 0
Thanked 8 Times in 8 Posts
Default

Use the IsDBNull function to check for NULL values coming from the database in any data access component (e.g. DataReader, DataSet, etc).

Thearon
 
Old June 3rd, 2005, 03:18 PM
Registered User
 
Join Date: Jun 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thearon thanks. I did some re-reading and a few test and I think it is working.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Error checking for table fields null value constra method Access VBA 1 September 26th, 2005 09:00 PM
Searching and Checking Values in other workbooks lavaguava13 Excel VBA 1 September 17th, 2005 04:15 PM
Checking for Null ~Bean~ BOOK: Beginning ASP 3.0 2 June 27th, 2005 07:09 AM
Checking null values in Query(SQL Server) Prob leo_vinay Classic ASP Databases 2 December 28th, 2004 04:31 AM
Checking Duplicate values and delete rows ppenn Excel VBA 2 February 3rd, 2004 06:57 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.