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 November 7th, 2005, 04:27 PM
Registered User
 
Join Date: Nov 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chap 3 - Data From File

I feel like such an idiot, but I cannot get the example beginning on page 49 to work!

I have the csv file created by the previous step "Exporting Datra from Access" (pg 48), but when I carefully execute all the steps from pages 49 through 52, it doesn't work!

I get a successful build, but then ge the following error message:

"An unhandled exception of type 'System.NullReferenceException' occurred in ODBC Data Wizard 2.exe

Additional information: Object reference not set to an instance of an object."


The execution stops in the cboCompanies_SelectedIndexChanged subroutine, specifically, the "If" statement:
"For intIndex As Integer = 0 To CustomersDS1.Tables("Customer_csv").Rows.Count - 1"

What did I do wrong?

 
Old November 9th, 2005, 03:54 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hey,

Could you post the code? I don't have the book.

Brian

Brian





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chap 1 Data Type Jim Dean BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5 2 July 4th, 2006 07:49 AM
Transfering data from csv file to data base g_vamsi_krish ASP.NET 1.0 and 1.1 Professional 2 May 16th, 2006 11:58 PM
Macro to copy data from one file to a 2nd file chadpodsednik Excel VBA 1 October 29th, 2004 10:40 AM
XML Data File matt.fields VB.NET 3 January 29th, 2004 11:01 AM





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