在datagrid中将文本显示为两列 [英] Display Text in datagrid into two columns
本文介绍了在datagrid中将文本显示为两列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何从文本文件中随机检索数据.在运行时,显示文本应放在gridview中的两列中.
How retrieve the data from textfile randomly. At run time display text should be into two columns in gridview
推荐答案
请看以下内容:
Look at this: Retrieving random data from sql database no repeat
我认为ListView
控件 [
I would think aListView
control[^] should be sufficient for you.
If you want to look at more complex scenarios like a filter search etc, you can think about aDatagGridView
.
这篇关于在datagrid中将文本显示为两列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文