如何使用csharp从数据网格视图中删除选定的列名称 [英] How to delete the selected column name from data grid view using csharp
本文介绍了如何使用csharp从数据网格视图中删除选定的列名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在数据网格视图中输出如下;
日期周期RK GS VB CMK UNNI RS
13/1/2013 1 Cb_course
13/1/2013 2
13/1/2013 3
13/1/2013 4
假设用户想要删除数据网格视图中的CMK(选定列)。
怎么办。请发送代码。
问候,
Narasiman P
output as follows in data grid view;
Date Period RK GS VB CMK UNNI RS
13/1/2013 1 Cb_course
13/1/2013 2
13/1/2013 3
13/1/2013 4
suppose user want to delete the CMK(selected column) in data grid view.
how to do.please send the code.
Regards,
Narasiman P
推荐答案
用于显示目的通过以下链接.......
http://social.msdn.microsoft.com/Forums/en-US/winformsdatacontrols/thread/c13d95a8-1348-4856-9eb2- 72b3a364b42e [ ^ ]
http://www.dotnetfunda.com/codes/code956-delete-datagridview-columns -in-runtime-using-csharp.aspx [ ^ ]
for display purpose go through following links.......
http://social.msdn.microsoft.com/Forums/en-US/winformsdatacontrols/thread/c13d95a8-1348-4856-9eb2-72b3a364b42e[^]
http://www.dotnetfunda.com/codes/code956-delete-datagridview-columns-in-runtime-using-csharp.aspx[^]
这篇关于如何使用csharp从数据网格视图中删除选定的列名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文