Click here to Skip to main content
14,490,584 members
   

ASP.NET

 
QuestionDropdown Filtering in grideview vb.net Pin
Member 315525329-Jan-20 4:16
MemberMember 315525329-Jan-20 4:16 
QuestionFiles download fails for ipad and iphone clients Pin
alesanndro28-Jan-20 20:34
Memberalesanndro28-Jan-20 20:34 
AnswerRe: Files download fails for ipad and iphone clients Pin
Nathan Minier29-Jan-20 5:42
professionalNathan Minier29-Jan-20 5:42 
GeneralRe: Files download fails for ipad and iphone clients Pin
alesanndro29-Jan-20 6:51
Memberalesanndro29-Jan-20 6:51 
GeneralRe: Files download fails for ipad and iphone clients Pin
Nathan Minier29-Jan-20 9:28
professionalNathan Minier29-Jan-20 9:28 
GeneralRe: Files download fails for ipad and iphone clients Pin
alesanndro30-Jan-20 1:24
Memberalesanndro30-Jan-20 1:24 
GeneralRe: Files download fails for ipad and iphone clients Pin
Nathan Minier30-Jan-20 6:01
professionalNathan Minier30-Jan-20 6:01 
QuestionProcedure or function 'bla' expects parameter '@OrderNumber', which was not supplied. Pin
Johan Hakkesteegt27-Jan-20 21:50
MemberJohan Hakkesteegt27-Jan-20 21:50 
Hi,

Breaking my head, over this error, for which the reason according to all google results I have been able to find, is usually a simple omission of SelectCommandType="StoredProcedure", or some simple typo.

If this is the case for me, I am just not seeing it.
<asp:ListView ID="ListViewOrderRow"

              runat="server"

              DataKeyNames="rowguid" 

              DataSourceID="SqlDataSource1"

              OnDataBound="ListViewOrderRow_DataBound">
 <asp:Label ID="afp_nrLabel" runat="server" Text='<%# Eval("afp_nr") %>'></asp:Label>
 <asp:Label ID="auf_trnrLabel" runat="server" Text='and lots more stuff like this'></asp:Label>
</asp:ListView>

<asp:SqlDataSource ID="SqlDataSource1"

                   runat="server"

                   ConnectionString="<%$ ConnectionStrings:ConnectionStringFDS %>"

                   ProviderName="<%$ ConnectionStrings:ConnectionStringFDS.ProviderName %>" 

                   SelectCommand="sp_Warehouse_RowsByOrderNumberAndWarehouse"

                   SelectCommandType="StoredProcedure">
        <SelectParameters>
            <asp:QueryStringParameter Direction="Input" 

                                      DefaultValue="x" 

                                      Name="@OrderNumber" 

                                      QueryStringField="afp_nr" 

                                      Type="String" />
            <asp:QueryStringParameter Direction="Input" 

                                      DefaultValue="x" 

                                      Name="@Warehouse" 

                                      QueryStringField="wh_nr" 

                                      Type="String" />
        </SelectParameters>
    </asp:SqlDataSource>

The address shows that the necessary parameter values are being passed to the page:
"http://address/folder/OrderPicking.aspx?afp_nr=1586474&wh_nr=02"

Any and all help much appreciated.

Regards,
Johan
My advice is free, and you may get what you paid for.

AnswerRe: Procedure or function 'bla' expects parameter '@OrderNumber', which was not supplied. Pin
F-ES Sitecore27-Jan-20 23:20
mveF-ES Sitecore27-Jan-20 23:20 
GeneralRe: Procedure or function 'bla' expects parameter '@OrderNumber', which was not supplied. Pin
Johan Hakkesteegt27-Jan-20 23:50
MemberJohan Hakkesteegt27-Jan-20 23:50 
AnswerRe: Procedure or function 'bla' expects parameter '@OrderNumber', which was not supplied. Pin
Richard Deeming28-Jan-20 1:04
mveRichard Deeming28-Jan-20 1:04 
QuestionDisplaying two images but code is for single image Pin
UDTWS27-Jan-20 19:33
MemberUDTWS27-Jan-20 19:33 
QuestionDynamically updating the site with progress bar Pin
iinfoque11127-Jan-20 7:46
Memberiinfoque11127-Jan-20 7:46 
QuestionRe: Dynamically updating the site with progress bar Pin
ZurdoDev27-Jan-20 9:00
mveZurdoDev27-Jan-20 9:00 
AnswerRe: Dynamically updating the site with progress bar Pin
iinfoque11127-Jan-20 18:58
Memberiinfoque11127-Jan-20 18:58 
GeneralRe: Dynamically updating the site with progress bar Pin
ZurdoDev28-Jan-20 0:26
mveZurdoDev28-Jan-20 0:26 
AnswerRe: Dynamically updating the site with progress bar Pin
David Mujica29-Jan-20 5:57
MemberDavid Mujica29-Jan-20 5:57 
QuestionHow to I fix "The method or operation is not implemented"? Pin
Member 1140330424-Jan-20 8:59
MemberMember 1140330424-Jan-20 8:59 
AnswerRe: How to I fix "The method or operation is not implemented"? Pin
Blikkies26-Jan-20 21:48
professionalBlikkies26-Jan-20 21:48 
QuestionHow to use FCKeditorV2 instead of FreeTextBox ? Pin
Member 245846714-Jan-20 20:41
MemberMember 245846714-Jan-20 20:41 
SuggestionRe: How to use FCKeditorV2 instead of FreeTextBox ? Pin
Richard Deeming15-Jan-20 0:51
mveRichard Deeming15-Jan-20 0:51 
GeneralRe: How to use FCKeditorV2 instead of FreeTextBox ? Pin
jkirkerx15-Jan-20 10:24
professionaljkirkerx15-Jan-20 10:24 
GeneralRe: How to use FCKeditorV2 instead of FreeTextBox ? Pin
Member 245846715-Jan-20 15:17
MemberMember 245846715-Jan-20 15:17 
GeneralRe: How to use FCKeditorV2 instead of FreeTextBox ? Pin
jkirkerx16-Jan-20 7:26
professionaljkirkerx16-Jan-20 7:26 
GeneralRe: How to use FCKeditorV2 instead of FreeTextBox ? Pin
Member 245846716-Jan-20 21:04
MemberMember 245846716-Jan-20 21:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.