469,631 Members | 1,218 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,631 developers. It's quick & easy.

ObjectDataSource & FormView adding two extra paramaters to Update method giving error non-generic method ...

I have a FormView that uses a ObjectDataSource. It retreives data alright
but when updating it gives a

ObjectDataSource 'ObjectDataSourceCatalogueItem' could not find a
non-generic method 'UpdateByCatalogueItemID' that has parameters:
CatalogueItemTitle, CatalogueItemDescription, CatalogueItemImage,
Original_CatalogueItemID, CatalogueItemID, CatalogueItemREFItemNumber,

where as the actual UpdateParameters looks like

<asp:Parameter Name="CatalogueItemTitle" Type="String" />
<asp:Parameter Name="CatalogueItemDescription" Type="String"
<asp:Parameter Name="CatalogueItemImage" Type="String" />
<asp:Parameter Name="CatalogueItemREFItemNumber"
Type="String" />
<asp:Parameter Name="Original_CatalogueItemID" Type="Int32"

Why is it adding "
, CatalogueItemID, CatalogueItemREFItemNumber,

onto the update parameter list? How can I remove them?

Thanks in advance.

Sep 18 '06 #1
0 1226

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Roald | last post: by
6 posts views Thread by Chris | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.