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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.