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.
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
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:ListViewID="ListViewOrderRow"runat="server"DataKeyNames="rowguid"DataSourceID="SqlDataSource1"OnDataBound="ListViewOrderRow_DataBound"><asp:LabelID="afp_nrLabel"runat="server"Text='<%# Eval("afp_nr") %>'></asp:Label><asp:LabelID="auf_trnrLabel"runat="server"Text='and lots more stuff like this'></asp:Label></asp:ListView><asp:SqlDataSourceID="SqlDataSource1"runat="server"ConnectionString="<%$ ConnectionStrings:ConnectionStringFDS %>"ProviderName="<%$ ConnectionStrings:ConnectionStringFDS.ProviderName %>"SelectCommand="sp_Warehouse_RowsByOrderNumberAndWarehouse"SelectCommandType="StoredProcedure"><SelectParameters><asp:QueryStringParameterDirection="Input"DefaultValue="x"Name="@OrderNumber"QueryStringField="afp_nr"Type="String"/><asp:QueryStringParameterDirection="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.