By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,854 Members | 833 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,854 IT Pros & Developers. It's quick & easy.

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

P: n/a
Hi,
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,
original_CatalogueItemREFItemNumber.

where as the actual UpdateParameters looks like

<UpdateParameters>
<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"
/>
</UpdateParameters>

Why is it adding "
, CatalogueItemID, CatalogueItemREFItemNumber,
original_CatalogueItemREFItemNumber.
"

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

Thanks in advance.


Sep 18 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.