首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

WinForm 程序DataGridViewLinkColumn设置为空,该如何解决

2013-11-29 
WinForm 程序DataGridViewLinkColumn设置为空datagridview表格里最后一列是操作,列名为ReportTradeMerge,

WinForm 程序DataGridViewLinkColumn设置为空
datagridview表格里最后一列是操作,列名为ReportTradeMerge,使用了DataGridViewLinkColumn,我想点击这个操作链接以后,让这个链接消失,该如何实现?

已知使用类似这样的语句:this.dataGrid.Rows[i].Cells["ReportTradeMerge"].Value = "";可以隐藏非DataGridViewLinkColumn的列。

如IsException列的第0行设置为空可以写成this.dataGrid.Rows[0].Cells["IsException"].Value = "" C# datagridview
[解决办法]
这样不行吗?
[解决办法]
this.dataGrid.Rows[i].Cells["ReportTradeMerge"].VISABLE = FALSE;

热点排行