将复选框添加到动态列 [英] Add checkbox into dynamic column

查看:69
本文介绍了将复选框添加到动态列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在运行时添加一列,每行的每一行都包含winform中的复选框.我正在使用msacess2003作为后端和visual studio2008.

i want to add a column at runtime with each row of column consist of checkbox in winform.i am using msacess2003 as backend and visual studio2008.

推荐答案

I假设您正在谈论DataGridView?
I am assuming you''re talking about a DataGridView?
MyDataGridView.Columns.Add(new DataGridViewCheckBoxColumn());


实际上, MSDN上的DataGridView上有很多信息 [ ^ ] ...您应该检查一下.


There is actually quite some info on the DataGridView on MSDN[^]... You should check there.


这篇关于将复选框添加到动态列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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