如何更改datagrid列的顺序? [英] How to change the order of datagrid columns?

查看:177
本文介绍了如何更改datagrid列的顺序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





如何更改datagrid列的顺序?有人认为我想在这里提一下,它的数据网格不是datagridview。所以DisplayIndex属性不可用,在datagridview中可用。并且AutoGeneratedColumns设置为false。并且我不想将其设置为true(因为使用它有限制)。



谢谢,

Surendra

Hi,

How to change the order of datagrid columns? One think I would like to mention here is it's datagrid not the datagridview. So DisplayIndex property is not available which is available in datagridview. And AutoGeneratedColumns is set to false. And I don't want to set it to true(as there are limitations to use this).

Thanks,
Surendra

推荐答案

试试这个

它可以帮到你



http://msdn.microsoft.com/en-us/library/vstudio/wkfe535h %28v = vs.100%29.aspx [ ^ ]


这篇关于如何更改datagrid列的顺序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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