在运行时将datagridview的列类型更改为文本框 [英] Change column type to textbox for a datagridview at run time

查看:89
本文介绍了在运行时将datagridview的列类型更改为文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将数据集分配给datagridview.由于tha数据集中的一列为布尔型,因此对应的datgridview列类型为checkbox.我需要将其更改为datagridview中的normal字段.
请帮助

I have assigned a dataset to the datagridview . Since one of the columns in tha dataset is boolean type, the corresponding datgridview column type became checkbox.i need to change this to normal field in datagridview.
pls help

推荐答案

创建绑定到bool-string数组的ComboBoxColumn并将其用作查找表.参见 http://emmet-gray.com/Articles/DataGridView.htm [
Create a ComboBoxColumn bound to an array of bool-string and use it as a lookup table. See http://emmet-gray.com/Articles/DataGridView.htm[^] maybe helps


这篇关于在运行时将datagridview的列类型更改为文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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