Procedure or function has too many arguments specified in FormView and SQL SERVER c#
<p>I have one stored procedure called <code>VideoGalleryDelete</code> . I am using <code>FormView</code> and <code>Gridview</code> to insert, update, show and delete data. <code>VideoGallery</code> is my primary table with PK <code>VideoId</code> and it has a foreign key as <code>CategoryId</code> . </p>

<p>When i click <code>Delete linkButton</code>, its says <strong>Procedure or function has too many arguments specified</strong></p>

<p>This is my SP :</p>

<pre><code>ALTER PROCEDURE [dbo].[VideoGalleryDelete]
@VideoId int
AS
BEGIN

DELETE FROM [dbo].[VideoGallery]
      WHERE VideoId = @VideoId
      END
</code></pre>

<p>GridView and its assigned SqlDataSource :</p>

<pre><code>&lt;asp:GridView ID="gvVideo" CssClass="table" runat="server" OnSelectedIndexChanged="gvVideo_SelectedIndexChanged" AutoGenerateColumns="False" DataKeyNames="VideoId,CategoryId" DataSourceID="sdVideoList"&gt;
    &lt;Columns&gt;
        &lt;asp:BoundField DataField="VideoId" Visible="false" HeaderText="VideoId" InsertVisible="False" ReadOnly="True" SortExpression="VideoId" /&gt;
        &lt;asp:BoundField DataField="VideoLink" HeaderText="Video Link" SortExpression="VideoLink" /&gt;
        &lt;asp:BoundField DataField="CategoryId" HeaderText="Category Id" SortExpression="CategoryId" /&gt;
        &lt;asp:TemplateField ItemStyle-CssClass="Center" HeaderStyle-Width="15%"&gt;
            &lt;ItemTemplate&gt;
                &lt;asp:ImageButton ImageUrl="~/images/edit.png" ID="lnkedit" Style="margin-left: 15px" CommandName="Select" runat="server" Width="20px"&gt;&lt;/asp:ImageButton&gt;
                &lt;asp:ImageButton ImageUrl="~/images/delete.png" ID="lnkDelete" CommandName="Delete" Style="margin-left: 15px" runat="server" Width="20px" OnClientClick="return ConfirmDelete();"&gt;&lt;/asp:ImageButton&gt;
            &lt;/ItemTemplate&gt;
        &lt;/asp:TemplateField&gt;
    &lt;/Columns&gt;
&lt;/asp:GridView&gt;

&lt;asp:SqlDataSource ID="sdVideoList" runat="server" ConnectionString="&lt;%$ ConnectionStrings:WebAAERT_DBConnectionString %&gt;" DeleteCommand="VideoGalleryDelete" DeleteCommandType="StoredProcedure" SelectCommand="VideoGallerySelect" SelectCommandType="StoredProcedure"&gt;
    &lt;DeleteParameters&gt;
        &lt;asp:Parameter Name="VideoId" Type="Int32" /&gt;
    &lt;/DeleteParameters&gt;
    &lt;SelectParameters&gt;
        &lt;asp:Parameter DefaultValue="0" Name="CategoryId" Type="Int32" /&gt;
    &lt;/SelectParameters&gt;
</code></pre>