asp.net postbackurl EVAL 带参

PostBackUrl="OrderWork.aspx?id=<%#Eval('OrderID') %>">

改成

PostBackUrl='<%#"OrderWork.aspx?id="+Eval('OrderID') %>'>

多个参数:

<asp:LinkButton ID="LinkButton1" PostBackUrl='<%#"OrderWork.aspx?id="+Eval("price")+"&name="+Eval("worth") %>' runat="server">LinkButton</asp:LinkButton>

 <asp:TemplateField HeaderText="服务器端图片展示">
                     <ItemTemplate >
                        <asp:Image ID="imgShow" runat="server" ImageUrl='<%#"EmployeeImgShow.ashx?EID="+Eval("EID") %>' Width="50" Height="50" />
                    </ItemTemplate>
</asp:TemplateField>

你可能感兴趣的:(image,server,服务器,asp.net,asp)