
Originally Posted by
riechan
Question, in this line of code:
Code:
dbAdpPatronType.Fill(dbDsetPatron, "PatronType")
Is the syntax like this:
[adaptername].fill([datasetname],[datatablename?])
Strictly, no. It's:
vb.net Code:
dataAdapter.Fill(dataSet, "DataTableName")
"Name" implies a string containing a name and in that case the adapter and the data set are not the names of objects, but rather references to those objects.