ASP.Net中的GridView样式 [英] GridView style in ASP.Net

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

问题描述

我有一个使用绑定的GridView绑定数据.但是我需要在GridView中并排显示数据.有任何选项或代码可以将GridView数据布局并排放置.

谢谢

解决方案

如果我有您的问题,您想这样显示您的值:-
名称:AnyName.
地址:YourAddress.
如果是这样,那么您最好使用DetailsView或Repeater Control而不是GridView.


我不明白您想并排显示的问题,这意味着您如何枚举它.

I have a GridView its bind data using binding. But I need to show Data side by side in GridView. There is any option or Code to chage GridView Data layout to Side by Side.

Thanks

解决方案

If i got your question you want to display your value like this:-
Name : AnyName.
Address: YourAddress.
If it is so then you better use DetailsView or Repeater Control instead of GridView.


I cannot understand your question you want to display it side by side means how can you enumerate it.


这篇关于ASP.Net中的GridView样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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