1.Inserting is not supported by ObjectDataSource 'odsPartsTmp' unless the InsertMethod is specified.
原因: datasource中没有指定Insert方法,加入UpdateMethod="Update" DeleteMethod="Delete" InsertMethod="Add" 即可。
原因: datasource中没有指定Insert方法,加入UpdateMethod="Update" DeleteMethod="Delete" InsertMethod="Add" 即可。