ASP.NET之GridView数据绑定

it2022-05-09  31

1.模板列的绑定 (1)在前台页面绑定             < asp:TemplateField >                 < ItemTemplate >                      < asp:TextBox ID ="TextBox1" runat ="server"                      Text ='<%# Eval("数据库字段")%' ></ asp:TextBox >                  </ ItemTemplate >             </ asp:TemplateField >

转载于:https://www.cnblogs.com/feima-lxl/archive/2010/12/04/1896012.html

相关资源:ASP.NET中的数据绑定-gridview

最新回复(0)