在GridView中显示数据 [英] display data in gridview

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

问题描述

我要的格式,如图像中显示的GridView的数据。

i want to display data in Gridview in a format like in the image.

任何人的想法?

在表中的DATAS被存储在这样

the datas in table is stored in this way

Qsn1    A train running at the speed of 60 km/hr crosses a pole in 9 seconds. What is the length of the train?  Option1 150 metres  5   
Qsn1    A train running at the speed of 60 km/hr crosses a pole in 9 seconds. What is the length of the train?  Option1 152 metres  5   
Qsn1    A train running at the speed of 60 km/hr crosses a pole in 9 seconds. What is the length of the train?  Option1 154 metres  5   
Qsn1    A train running at the speed of 60 km/hr crosses a pole in 9 seconds. What is the length of the train?  Option1 155 metres  5   

感谢您

推荐答案

我想你可以使用中继器控件来做到这一点。

I think you could use the repeater control to do that..

MSDN链接到中继网页。原文链接

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

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