本文介绍了如何将gridview中编辑字段的位置从左侧更改为右侧...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 注意:这些字段是从数据库自动生成的...... < asp:GridView ID = GridView1 runat = server AutoGenerateEditButton = True AutoGenerateDeleteButton = True OnRowEditing = GridView_RowEditing OnRowDeleting = GridView_RowDeleting EnableTheming = 真 可见 = False > < / asp:GridView > 解决方案 关注这些以下几步 *切换到Design Vie w 在 Visual Studio Designer *然后点击GridView *点击位于右上角的网格的Smar-Tag *然后点击编辑列,然后会出现一个弹出窗口 *找到选定的字段列表(你可以在那里找到列的列表你的网格) *那么你现在可以通过点击List *旁边的向上和向下箭头来选择要移动的列。然后你就完成了 Note : the fields are auto generated from database...<asp:GridView ID="GridView1" runat="server" AutoGenerateEditButton="True" AutoGenerateDeleteButton="True" OnRowEditing="GridView_RowEditing" OnRowDeleting="GridView_RowDeleting" EnableTheming="True" Visible="False"> </asp:GridView> 解决方案 Follow these few steps below* Switch to Design View in Visual Studio Designer* Then Click on the GridView* Click on the Smar-Tag of the Grid located at the Upper-Right corner* Then Click Edit Columns, then a pop up window will appear* Locate to the Selected Fields List (you can find there the list of columns in your Grid)* Then You can now Select the Columns that you want to move by clicking on the Up and Down Arrows located right beside the List* Then you are done 这篇关于如何将gridview中编辑字段的位置从左侧更改为右侧...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-26 22:45