是否可以在C#winforms中将datagridview列类型复选框转换为checkedcombobox?
问题描述:
我有一个复选框列:datgridview中的条件。
我需要将复选框列转换为checkcombox。
是否可以这样做?
如果有的话一个人这样做了,请给我一个想法。
我尝试过:
我没有尝试任何东西,因为我不知道如何将复选框列转换为c#中的checkedcombobox列。
I have a one checkbox column: condition in the datgridview.
I need to convert the checkbox column to checkedcombox.
Is it possible to do?
If any one has done this please give me an ideas.
What I have tried:
I have not tried anything since I dont know how to convert checkbox column to checkedcombobox column in c#.
答
也许你可以像Show_Combobox()
此处描述的方法:
[ Bind并使用Windows应用程序在DataGridView单元格中显示ComboBox ]
Maybe you can do it like in theShow_Combobox()
method described here:
[Bind and Show a ComboBox in a DataGridView Cell using Windows Application]