Last post May 13, 2008 02:21 AM by Mikesdotnetting
May 12, 2008 04:37 PM|xgamma|LINK
I'm trying to use FormView with an Access Data Source to create a new record in my DB. However, when I try to run it, I get the following error:
I'm assuming this is because of the AutoID Field, which I cannot specify in the FormView. Is there a specific way to do this?
May 12, 2008 05:38 PM|Mikesdotnetting|LINK
Try removing the Autonumber field from the InsertCommand, and make sure it isn't listed in the InsertParameters collection. If that doesn't help, show your code.
May 13, 2008 01:39 AM|xgamma|LINK
I haven't customized anything yet, so there is no code...I'm first just trying to get the FormView InsertItem template to add a record...
May 13, 2008 02:21 AM|Mikesdotnetting|LINK
I haven't customized anything yet, so there is no code
Errmmm.... the stuff in the aspx file is code. Well, declarative mark-up, but that's what I meant.