BillGleeson
Jul 29th, 2002, 09:37 AM
Hi,
I am having some problems using the .NET dataAdapter to insert/update a MSAccess2k database.
I add a new row to a dataset, then on calling the adapter update command, I get the following error
"No value given for one or more required parameters"
I've created the commandtext for the insert command:
"INSERT INTO Customer(DOB, Employer, Surname, HealthNotes, MemberNumber, Occupat" & _
"ion, PCityID, PhoneAH, PhoneBH, PhoneM, PPostCode, PStreetAddress, PSuburbID, Qu" & _
"estionID, RCityID, RPostCode, RStreetAddress, RSuburbID, Sex, GivenName) VALUES (?" & _
", ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
Anybody have experience here ?
Thanks,
BG
I am having some problems using the .NET dataAdapter to insert/update a MSAccess2k database.
I add a new row to a dataset, then on calling the adapter update command, I get the following error
"No value given for one or more required parameters"
I've created the commandtext for the insert command:
"INSERT INTO Customer(DOB, Employer, Surname, HealthNotes, MemberNumber, Occupat" & _
"ion, PCityID, PhoneAH, PhoneBH, PhoneM, PPostCode, PStreetAddress, PSuburbID, Qu" & _
"estionID, RCityID, RPostCode, RStreetAddress, RSuburbID, Sex, GivenName) VALUES (?" & _
", ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
Anybody have experience here ?
Thanks,
BG