Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

object reference not set to an instance of an object VB.NET

, 11 Oct 2012 CPOL
First thing you need to check is that all the data tables passed in your method should not be initialized rather than Nothing.For example, the start of method will be something like this:Public Sub Plot_TotalPerItem(ByRef NewTable As DataTable, ByVal Items As DataTable, ByVal...



Compare Revision Minor Date Status Editor
4 - publicly available No 11-Oct-12 7:41 Available Shahan Ayyub
Typo in code
3 No 11-Oct-12 6:50 Available Shahan Ayyub
Added one more tip
2 No 11-Oct-12 6:33 Available Shahan Ayyub
comment was missing
1 No 11-Oct-12 6:20 Available Shahan Ayyub


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Shahan Ayyub
Software Developer eHealthWorks LLC
Pakistan Pakistan
I satisfy my daily 'urge to code' by participating in forums:
On Experts-Exchange:
Screen Name : Shahan_Developer
Screen Name : EngrShahan
On C-Sharp Corner:
Screen Name : ShahanDev
On DaniWeb IT Community:
Screen Name : ShahanDev
Follow on   Twitter

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150224.1 | Last Updated 11 Oct 2012
Article Copyright 2012 by Shahan Ayyub
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid