Hi All
I have this problem and I havenât found the answer to it as yet. Though a few posts in this forum are close.
I have been using Visual Web Developer Express to create a FormView control that updates a SQL database using parameters and a stored procedure.
The error I am receiving is:
Quote:
|
quote:Procedure or function GUPDATE has too many arguments specified
|
I have checked that I have the same parameters within the UpdateParameters of my ASPX page and my stored proc but still seem to get the error.
Can anyone point me in the right direction as what else I should check.
An example of my parameters are:
Code:
<asp:Parameter Name="Title" Type="String" />
<asp:Parameter Name="FirstName" Type="String" />
<asp:Parameter Name="LastName" Type="String" />
<asp:Parameter Name="Mail" Type="Boolean" />
<asp:Parameter Name="Gender" Type="Boolean" />
<asp:Parameter Name="Nation" Type="Int32" />
..and the stored proc...
Code:
@Title nvarchar(30),
@FirstName nvarchar(30),
@FamilyName nvarchar(30),
@Mail bit,
@Gender bit,
@Nation int
Many thanks
Rit