Solved update stored procedure c#

Posted on 2007-10-12
Last Modified: 2013-12-17
I have the following code using wizard, and my hand codings, assume we have detailview, and they are working...
And when the update link is clicked, it always said that "Procedure or function Up_updateoffer has too many arguments specified.
Any ideas why? I used 2.0 c#

<asp:SqlDataSource ID="SqlDataSource_SingleOfferID"
                       ConnectionString="<%$ ConnectionStrings:DBconnection %>"
            <asp:SessionParameter Name="memberid" SessionField="loginid" Type="Int32" />
            <asp:QueryStringParameter Name="offerid" QueryStringField="offerid" Type="Int32" />
            <asp:Parameter Name="memberid" />
            <asp:Parameter Name="manufactureid" />

ALTER PROCEDURE dbo.up_updateoffer
      @memberid int,
      @manufacturerid int
      /* SET NOCOUNT ON */
      UPDATE tblproductlist
      manufacturerid = @manufacturerid
      WHERE  (memberid = @memberid)

Question by:riskyricky1972
    LVL 29

    Accepted Solution


                <asp:Parameter Name="memberid"  Type="Int32" />
                <asp:Parameter Name="manufactureid"  Type="Int32" />

    Author Comment

    same error after the try

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    In my previous two articles we discussed Binary Serialization ( and XML Serialization ( In this article we will try to know more about SOAP (Simple Object Acces…
    User art_snob ( encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now