You are here: Re: Error message with stored procedure « MsSQL Server « IT news, forums, messages
Re: Error message with stored procedure

Posted by JJ297 on 10/29/07 19:06

On Oct 29, 2:52 pm, "Plamen Ratchev" <Pla...@SQLStudio.com> wrote:
> This error message appears when you try to call a stored procedure and
> supply more parameters than those declared for that procedure. Look at the
> code where you call the UpdateResources procedure and check that you pass
> the correct parameter list.
>
> HTH,
>
> Plamen Ratchevhttp://www.SQLStudio.com

I've checked everything and can't figure it out. Here's the code on
the other page any suggestions?

<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:TrainUserConnectionString %>"
SelectCommand="GetResourceLibraryInfo"
SelectCommandType="StoredProcedure" UpdateCommand="UpdateResources"
UpdateCommandType="StoredProcedure">
<SelectParameters>
<asp:ControlParameter ControlID="DropDownList1" DefaultValue="1"
Name="Type" PropertyName="SelectedValue"
Type="String" />
</SelectParameters>
<UpdateParameters>
<asp:Parameter Name="titleID" Type="Int32" />
<asp:Parameter Name="title" Type="String" />
<asp:Parameter Name="description" Type="String" />
<asp:Parameter Name="quantityowned" Type="Int32" />
</UpdateParameters>
</asp:SqlDataSource>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация