如何在datagridviewcell中显示文本框控件 [英] How to display textbox control in datagridviewcell

查看:110
本文介绍了如何在datagridviewcell中显示文本框控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

推荐先生,

我正在使用vb.net开发Windows应用程序,其中我要在datagridview的选定单元格上显示文本框控件.
我有两个不同的控件..一个是datagridview,另一个是Textbox(在此文本框的事件中,我具有不同的代码)
现在,我想在选定的datagridviewcell上启用/移动此文本框控件..



请帮帮我..
谢谢..

Respected sir/s,

I am developing windows application using vb.net in which i want to display Textbox Control on selected cell of datagridview..

I have two different controls..one is datagridview and another is Textbox(on this textbox''s event i have different code)
now i want to bring/move this textbox control on selected datagridviewcell..



please help me..
Thank you..

推荐答案

为什么? DataGridViewTextBoxColumn已经作为DGV中的编辑控件执行了此操作.
Why?? The DataGridViewTextBoxColumn already does this as an edit control in the DGV.


这篇关于如何在datagridviewcell中显示文本框控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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