如何使用C#应用程序显示datagridview的datagridviewTextBox列中的所有文本框 [英] How to show all textbox in datagridviewTextBoxcolumn of datagridview using C#application
本文介绍了如何使用C#应用程序显示datagridview的datagridviewTextBox列中的所有文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我对使用C#的datagridview中的显示控制有疑问。我的datagridview有3列(A(组合框),B(文本框),C(文本框,宽度= 50))并从数据库加载数据。
当表单显示,列C的所有单元格将显示为文本框(有边框,宽度= 30)。
(C列的所有单元格的所有文本框都显示在非编辑模式下)
我研究过但没有找到解决方案。如果您对此有所了解,请帮助我。
提前感谢。
I have a problem about display control in datagridview using C#. my datagridview have 3 column(A(combobox), B(textbox), C(textbox, width= 50)) and is loaded data from database.
when the form is display, all cell of column C will be displayed as textbox(have border and the width = 30).
(all textbox of all cell of column C is showed on non edit mode)
I researched but don't found solution. If you know about this, please help me.
Thank in advance.
推荐答案
这篇关于如何使用C#应用程序显示datagridview的datagridviewTextBox列中的所有文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文