隐藏紧凑框架5.0中的datagridview中的列 [英] hide a column in a datagridview in compact framework 5.0

查看:72
本文介绍了隐藏紧凑框架5.0中的datagridview中的列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
大家好,我需要帮助 如何隐藏 a datagridview in 紧凑框架 5 0
列表 数据 source

解决方案

将列的Visible设为false。



this.DataGridView.Columns [0] .Visible = false ;





请参阅以下链接



http://msdn.microsoft.com/en-us/library/bb383893(v=vs。 90).aspx [ ^ ]

hello,
Hi guys, i need help on how to hide a column in a datagridview in compact framework 5.0
with a list as a data source

解决方案

MAke the Visible for the column to false.

this.DataGridView.Columns[0].Visible = false;


refer the below link

http://msdn.microsoft.com/en-us/library/bb383893(v=vs.90).aspx[^]


这篇关于隐藏紧凑框架5.0中的datagridview中的列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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