如何在C#窗体的文本框中显示整个mysql数据库表 [英] How can i show an entire table of mysql database in a textbox of C# windows form
本文介绍了如何在C#窗体的文本框中显示整个mysql数据库表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
HI,
我想在一个与类别名称分组的文本框中显示一个mysql数据库的整个表格。
我没有类别名称的输入从数据库类别名称分组。
如果可能请帮助。我想在文本框中显示完整的表格。
谢谢
解决方案
文本框是一个非常糟糕的控制选择:它没有重要的格式化功能,也不适用于那种事情。
相反,请考虑使用专为基于表格的数据设计的DataGridView,如您所描述的
HI,
I want to show an entire table of a mysql database in a textbox grouped with category name.
There will be no input for category name i have to group it from database category name.
If possible please help. And i want to show the full table in textbox.
Thank You
解决方案
A textbox is a very poor choice of control to do this: it has no significant formatting capabilities and is not intended for that kind of thing.
Instead, consider using a DataGridView which is designed for table based data such as you describe.
这篇关于如何在C#窗体的文本框中显示整个mysql数据库表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文