Error Adding new Row

fadedkeil

Member
Joined
Feb 8, 2009
Messages
12
Programming Experience
Beginner
This line errors O_O cant think anymore solutions :confused:
Untitled-3.jpg
 
Either the 'ds' variable doesn't refer to an object or, more likely, there's no DataTable named "Encoder" in the DataSet. If there's no such DataTable then:
VB.NET:
ds.Tables("Encoder")
will return a null reference, i.e. Nothing, hence your NullReferenceException.
 

Latest posts

Back
Top