Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB Databases Basics
|
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases Basics 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 August 20th, 2007, 08:56 PM
Registered User
 
Join Date: Feb 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Table data is Right, DataSet is Wrong

Chapter 12 problem.
When I load the LoadTimeSheet sub the program ends on objDataRowView (Friday)due to the objTimeSheetDS, Friday info is blank in the dataset. The table data is correct and has info from Monday through Friday. I have a invalid cast exception. What should I do to isolate the bug?

 
Old August 21st, 2007, 09:04 PM
Registered User
 
Join Date: Feb 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found My goof. I had a typo in the stored procedure, The program was looking for a Friday table and it was filled with the wrong stuff.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Dataset and data Table Queations maddy137 ASP.NET 1.0 and 1.1 Professional 4 August 30th, 2006 02:33 AM
Query on the wrong data type ggiibboo VB Databases Basics 1 January 31st, 2006 07:44 PM
Creating a new table from a dataset... vb_developer SQL Server ASP 4 September 21st, 2004 07:41 AM
Using Temp Table and dataset Bhavin Crystal Reports 0 September 14th, 2004 08:39 AM
dataset column not in data base table gbuller ADO.NET 4 August 18th, 2004 10:18 PM





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