1. <%# DataBinder.Eval(Container.DataItem, "orderno")%>的绑定形式 <%# Eval("orderno")%>...
<asp:TemplateField HeaderText="订单号">
<ItemTemplate>//展示列
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl=‘<%# "Orderdetaile.aspx?OrderNO="+ DataBinder.Eval(Container.DataItem, "orderno")%>‘> <%# DataBinder.Eval(Container.DataItem, "orderno")%></asp:HyperLink>
</ItemTemplate>
<EditItemTemplate>//编辑列
<asp:TextBox ID="TextBox1" runat="server" Text=‘<%# Eval("orderno") %>‘></asp:TextBox>
</EditItemTemplate>
</asp:TemplateField>