View Single Post
  #4 (permalink)  
Old 03-28-2008, 2:07 AM
Rocksteady Rocksteady is offline
VB.NET Forum Enthusiast
.NET Framework: .NET 1.1 (VS 2003)
 
Join Date: Jan 2008
Posts: 63
Reputation: 46
Rocksteady will become famous soon enough
Default

Quote:
Originally Posted by kyoshiro View Post
your problem seems simple, i guess you have only forgotten to create an instance of DataRow : drow = new datarow

unable to create an instance of an object will issue a nullreference exception

hope this would be helpful
It's not that at all.

You're trying to access a table that doesn't exist.

The dataset contains no tables.

Tables("Label") will give you a nullreference exception.
Reply With Quote