在datagrid中将文本显示为两列 [英] Display Text in datagrid into two columns

查看:69
本文介绍了在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 a ListView control[^] should be sufficient for you.
If you want to look at more complex scenarios like a filter search etc, you can think about a DatagGridView.


这篇关于在datagrid中将文本显示为两列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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