Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5
This is the forum to discuss the Wrox book Beginning Visual Basic 2005 Databases by Thearon Willis; ISBN: 9780764588945
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old December 7th, 2007, 09:35 PM
Registered User
Join Date: Dec 2007
Location: Columbus, OH, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 12 - LogIn

Hi: After signing in using a user LoginName and Password, I receive an exception error in the TimeSheet.vb class. It occurs in the LoadTimeSheet Sub, on the "intTotal +=objTimeSheetDS. . . " statement(Calculation of total hours for Monday ) and is an InvalidCastException stating that "Operator '+' is not defined for type 'Integer' and type 'DBNull'. I have rechecked my Stored Procedures and related routines, but could not come up with any errors.

Any help I receive resulting in the solution of this problem will be greatly appreciated.

My email is megarxsales@hotmail.com

Thanx, Braaxx

Richard Krasner
Reply With Quote
  #2 (permalink)  
Old December 8th, 2007, 05:33 AM
Thearon's Avatar
Wrox Author
Join Date: Dec 2003
Location: Fuquay Varina, NC, USA.
Posts: 396
Thanks: 0
Thanked 8 Times in 8 Posts


Please review this post, http://p2p.wrox.com/topic.asp?TOPIC_...chTerms=dbnull, and also recheck your steps. A timesheet should be prepopulated with zeroes if it does not previously exist.

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
CH 12 login nightmare gegala BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 2 December 31st, 2007 08:34 AM
Generics chapter 12 difficult chapter i found ...? Larryz C# 2005 1 July 4th, 2007 09:40 PM
Chapter 12 stingo BOOK: Beginning Access 2003 VBA 0 March 1st, 2007 04:15 PM
Errors on Chapter 12 example(12.8) sonnie ASP.NET 2.0 Professional 2 June 7th, 2006 10:55 AM

All times are GMT -4. The time now is 06:20 PM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.