冻结Web应用程序中的网格列和标题 [英] Freeze grid column and header in web application
本文介绍了冻结Web应用程序中的网格列和标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好
我正在使用c#开发asp.net2005中的Web应用程序,我需要在gridview控件中显示80列和100多个行.有什么方法可以冻结网格的细小列和所有标题吗?
我已经找到了由Robbert在代码项目上使用Windows拼写的解决方案,但是Web应用程序中有什么办法吗?
在此先感谢
Saket M
hello
I''m devloping a web application in asp.net2005 using c# where I need to show 80 columns and more than 100 rows in gridview control. Is there any way to freez a partilcular column and all headers of grid?
I have found solution using windows apllication on code project by Robbert but is there any way in web application??
Thanks in advance
Saket M
推荐答案
如果您有网络问题,为什么不将其标记为此类?您可以将div标签与CSS一起使用,以创建可滚动区域,并在使标头为静态的同时使数据滚动.我不确定是否可以使用gridview进行操作,但是中继器应该可以为您提供这种控制.
If you have a web question, why did you not tag it as such ? You can use div tags with CSS to create a scrollable area, and make your data scroll while making the headers static. I''m not sure if you can do that with a gridview, but a repeater should give you that level of control.
这篇关于冻结Web应用程序中的网格列和标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文