>{asp:ObjectDataSource ID="ObjectDataSource2" runat="server" InsertMethod="AddBrdCusOr" SelectMethod="GetBrdCusOr1" TypeName="mySqlBrdBLL" UpdateMethod="UpdateBrdCusOr" } > {UpdateParameters} > > > {asp:Parameter Name="pplId" Type="Int32" /} <---------------------------- here is pplid > {asp:Parameter Name="id" Type="Int32" /} .Where in updatemethod, using iCusId as parameter
public bool UpdateBrdCusOr(Int32 iCusId, Int32 id) <------------------------ here, using ICusIdIf I call updatemethod, vs2005 will prompt me error : cannot found the general method which have paramters iPplId, id.....