Update when I changed the above line of code
cmartists = me.bindingContext(dsArtistdisplay1.datatable1)
The label works correctly and when I hit the previous or next button the label displays the proper data now the problem is the records don't cycle through from one to the next so if I hit the...
You are right it is set to nothing so how do I get the value? It should be the position of the record number. In addition the label is not showing any text which leads me to believe that for some reason the position is a null value. The error line is the line for the button that I click for...
Thanks for the assistance but when I try it that way I get the same error. To make my issue more clear I'm getting that error when I hit either the next, previous or any of the buttons (Not exit of course). I have reason to suspect it is because the values of the buttons are null. I still can't...
This is still open please if you know the solution I have an interview this week and I need to know this stuff and I'm stuck here. Any help would be appreciated.
Oops forgot to tell you that is when I remove the Me. keyword if I leave it in me.bindingContext... then I get Keyword does not name a type error. Very stange indeed.
Thanks guys not sure what the issue was but once I started from scratch it worked. I think there was an error in the dataset somewhere.
This issue is closed.
Hello all,
I getting this error "Object reference not set to an instance of an object." when I hit the next button on my form all code is below Visual Studio 2008 express, sql express. controls are bound to a data set. The form loads and the first record is displayed but there are two issues...
Trying to figure out why my data grid is not being filled with the following code.I am using visual studio express 2008 and the sqlserver express that comes with it.
Public Class Form1
Dim VendorsTableAdapter As New DataSet1TableAdapters.vendorsTableAdapter()
Dim DataSet1 As New...
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.