开发者

How to change the Edit template to appear at last column in autogenerated gridview

开发者 https://www.devze.com 2023-03-14 22:46 出处:网络
I have a gridview in that fields are generated at r开发者_高级运维untime using AutoGenerateColumns=\"True\". Before that in the design I have added a column as ItemTemplate to have Edit and Delete Row

I have a gridview in that fields are generated at r开发者_高级运维untime using AutoGenerateColumns="True". Before that in the design I have added a column as ItemTemplate to have Edit and Delete Row buttons.

Now the edit template column comes as the first column in my grid and all the autogenerated columns next.

Can anyone tell me a way to make the Itemtemplate field column to come as the last column in my gridview.


Using the gridview's smart tags you should be able to move the column left or right as you wish.

0

精彩评论

暂无评论...
验证码 换一张
取 消