Hi all,
I have a simple test .mdb file that I want to read from.
I added it to my VB.Net 2010 project as a dataset and thought that the following code would work (as an example):
Whenever I execute the code, however, I get a "There Is No Row at Position 0" error.
The records in the table show up when I go into the data sources menu and preview data, so I must be missing something obvious.
I've searched the web for a solution, but everything I've found seems to be much more complicated than what I'm trying to do, which is only to read entries from .mdb files.
Thanks for the help.
I have a simple test .mdb file that I want to read from.
I added it to my VB.Net 2010 project as a dataset and thought that the following code would work (as an example):
VB.NET:
Dim data As New testDataSet
Me.Text = data.Tables(0).Rows(0)(0)
Whenever I execute the code, however, I get a "There Is No Row at Position 0" error.
The records in the table show up when I go into the data sources menu and preview data, so I must be missing something obvious.
I've searched the web for a solution, but everything I've found seems to be much more complicated than what I'm trying to do, which is only to read entries from .mdb files.
Thanks for the help.