Hello,
I'm having trouble with the example on pp570, where you add records to the database. The line:
'Parameter for the au_id column...
objCommand.Parameters.Add ("@au_id", BindingContext(objDataView).Current("au_id"))
wont run. I've tried downloading the project from this site and its the same code and same problem:
Additional information: au_id is neither a DataColumn nor a DataRelation for table authors.
In addition, when I look at the Intellisense help, there's no overridden method that accepts a string so something is definitely wrong here.
I'm using WindowsXP, SP2, all patches with
VB.NET 2003, which is what the book is all about.
Any help is appreciated.