如何自动生成列并设置索引并在Gridview中排列列? [英] How do Autogenerate a column and set a Index and also arrange the column in Gridview?

查看:158
本文介绍了如何自动生成列并设置索引并在Gridview中排列列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我已将autogenerate属性设置为true ..

我还生成两个链接按钮列以供批准拒绝..



现在两个链接按钮位于网格的第一列..我需要这些列是最后一个。



我在aspx页面中将属性设置为AutoGenerateColumns =true。



我还在< columns>中生成链接按钮linkbutton执行时我正在获取第一列中的链接按钮然后我得到自动生成列..我需要链接按钮作为网格视图中的最后一列。



请指导我..!

Hi guys,

I have set autogenerate property to true..
and also i am generating two link button columns for approve and reject..

Now the two link buttons coming in first column of grid.. i need those columns to be last.

Am Setting the Property in aspx page as AutoGenerateColumns="true".

and also i generate link button in <columns> linkbutton While Executing i am getting those link buttons in first column and then i am getting autogenerate columns.. i need linkbuttons as last column in grid view.

Kindly Guide me..!

推荐答案

参考 - 在GridView列的LeftMost部分移动AutoGenerate列 [ ^ ]。


这篇关于如何自动生成列并设置索引并在Gridview中排列列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆