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

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

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...

Revisions


  

Compare Revision Minor Date Status Editor
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

License

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
 
On MSDN:
Screen Name : EngrShahan
 
On C-Sharp Corner:
Screen Name : ShahanDev
 
On DaniWeb IT Community:
Screen Name : ShahanDev
Follow on   Twitter

| Advertise | Privacy | Mobile
Web04 | 2.8.140709.1 | Last Updated 11 Oct 2012
Article Copyright 2012 by Shahan Ayyub
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid