如何开发一个从左向右滚动的表? [英] How to develop a table which is scrolled from left to right?

查看:60
本文介绍了如何开发一个从左向右滚动的表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我是ASP.NET的新开发人员,正在开发一个Web应用程序,我需要在该应用程序上开发一个表,该表显示数据库中一个表中的约25列.我想开发此表以从左向右滚动. 该怎么做?
我在Internet上进行搜索,但发现了一些有关修复标题的文章.

Hello everybody,

I am a new ASP.NET developer and I am working on developing a web application that I need to develop a table on it that shows around 25 columns from one of the tables in the database. I want to develop this table to be scrolled from left to right. How to do that?
I searched in the Internet but I just found some articles about fixing the header.

推荐答案

使用Gridview控件显示数据并设置滚动条

使用div滚动网格

试试

use Gridview control to show your data and set scrollbar

use div to scroll your grid

try

<div id='div1' style="width:'100%'; height:'50%'; overflow:scroll;">
<datagrid>
</datagrid>
</div>


这篇关于如何开发一个从左向右滚动的表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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