如何以行格式显示DetailsView [英] How to show a DetailsView in row format

查看:139
本文介绍了如何以行格式显示DetailsView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的项目中使用了DetailsView,它的输出视图是Vertical,但我需要它是水平的。下面的链接(图片)显示了我当前的输出(1)和我需要做的事情(2)。

链接 [ ^ ]

请帮我解决此问题。

I am using a DetailsView in my project and it's output view is Vertical but I need it horizontal. The below link(Image) show you what my current output(1) and what I need to do(2).
Link[^]
Please Help me to solve this.

推荐答案

你可以使用数据透视表:

如何使用sql server数据透视表 [ ^ ]
You can use Pivot table:
how to use sql server pivot table[^]


而不是DetailView,用户网格视图并将数据绑定到该。简单:))
Instead of DetailView, user grid view and bind the data to that. simple :)


这篇关于如何以行格式显示DetailsView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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