Posted on: 5/14/2015 2:54:37 PM | Views : 688

Hi there,
I'm trying to pass the value of querystring paramter as follows:
view.aspx?req=007
<asp:SqlDataSource ID="sdsReq" runat="server" connectionstring="<%$ ConnectionStrings:test%>" SelectCommand="SELECT req_num, dept, operation, category, comments FROM tblOrReqNum WHERE req_num = '@req'"> <SelectParameters> <asp:QueryStringParameter Name="req" QueryStringField="req" /> </SelectParameters> </asp:SqlDataSource> and then attaching it to a lable in form
<asp:Label ID="lblReqNum" runat="server" Text="" DataSourceID="sdsReq" DataTextField="Req Number" DataValueField="req_num"></asp:Label> but it's not working. Any clue?
Joe

Go to the complete details ...