F
Fred Dag
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>
<asparameter Name="CatalogueItemTitle" Type="String" />
<asparameter Name="CatalogueItemDescription" Type="String"
/>
<asparameter Name="CatalogueItemImage" Type="String" />
<asparameter Name="CatalogueItemREFItemNumber"
Type="String" />
<asparameter 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.
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>
<asparameter Name="CatalogueItemTitle" Type="String" />
<asparameter Name="CatalogueItemDescription" Type="String"
/>
<asparameter Name="CatalogueItemImage" Type="String" />
<asparameter Name="CatalogueItemREFItemNumber"
Type="String" />
<asparameter 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.