0
我有GridView动态绑定数据表。网格视图动态生成的列
我不得不在最后一列添加一个命令字段AAddOn
当试图像下面method..AAddOn在第一次显示..
我们怎样才能在最后显示的命令字段..
<asp:GridView ID="AGridView" runat="server" AutoGenerateColumns="true" style="table-layout:fixed;" Width="2000px" RowStyle-HorizontalAlign="Left">
<EmptyDataTemplate>
</EmptyDataTemplate>
<asp:CommandField ShowEditButton="True" ItemStyle-Width="80px" EditText="Edit Add On">
<ItemStyle Font-Bold="true" Font-Size="Small" />
<HeaderStyle CssClass="AAddOn" />
</asp:CommandField>
</asp:GridView>
感谢您的解决方案。 – havin