视觉工作室,gridview [英] visual studio, gridview

查看:112
本文介绍了视觉工作室,gridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


使用visual studio.net开发项目,我正在显示每个年龄段的年龄分布.
当页面显示时,它将结果显示在中心的网格中(i指定)
我想在中心显示它,但是要自动调整相对于主窗口的长度,要显示67列,如何自动调整?
有人可以帮我吗?

helo
using visual studio.net developing a project, i am displaying age distribution for every age group.
when page displays it display results in grid at center (i specified)
i want to display it in center but with auto size the length with respect to main window, there are 67 columns to display, how to autofit it?
can anybody help me out?

推荐答案

按长度,您指的是宽度?只需使用CSS告诉列自己调整大小以适合页面大小即可.您可能需要一个中继器来完全控制所生成的html,但我对此表示怀疑.
By length, you mean width ? Just use CSS to tell the columns to size themselves to fit across the page size. You may need a repeater to give yourself full control over the html generated, but I doubt it.


这篇关于视觉工作室,gridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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