如何显示复选框同一单元格中dataGridview中的LInkBut​​ton [英] How to display checkBox & LInkButton In dataGridview in Same cell

查看:57
本文介绍了如何显示复选框同一单元格中dataGridview中的LInkBut​​ton的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生,

我在Windows应用程序中有一个dataGridview.我想在其中显示两个控件
一个单元格.Checkbox和linkBut​​ton请帮助我



Thanks&Regards

sir,

I have one dataGridview in windows application.I want display Two controls inside
a cell.Those are Checkbox and linkButton pls help me



Thanks&Regards

推荐答案

通常,不可能在datagridview的单个单元格中添加2个控件.你得花点力气才行.

您可以在2个不同的单元格中添加Checkbox和LinkBut​​ton并对其进行扩展.这将使这2个单元格仅作为1个单元格.
In normal, its not possible to add 2 controls in a sinlge cell of datagridview. You got to work out little bit trickily.

You can add Checkbox and LinkButton in 2 different cells and span them. This will make those 2 cells as 1 single cell only.


这篇关于如何显示复选框同一单元格中dataGridview中的LInkBut​​ton的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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