Gridview通过添加更多记录来扩展和删除表单 [英] Gridview exanding and going off the form with addition of more records

查看:83
本文介绍了Gridview通过添加更多记录来扩展和删除表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

带有gridview的表单有gridview扩展并将表单推出页面,因为会添加更多记录。





尽管添加了新记录,我如何确保gridview保持其形式。



请注意构建网格视图所需的设置。





谢谢

A form with a gridview on it has the gridview expanding and pushing the form out of the the page as more records are added.


How do I ensure that the gridview maintains its form despite the addition of new records.

Please pgive the necessary settings for building a gridview.


Thanks

推荐答案

使用分页

使用ASP.NET中的GridView控件进行有效分页 [ ^ ]

GridView分页和排序 [ ^ ]

GridView自定义分页 [ ^ ]
use paging
Effective Paging with GridView Control in ASP.NET[^]
GridView Paging and Sorting[^]
GridView Custom Paging[^]


将你的gridview放入div标签,样式=width =200px;高度=300像素;溢出:滚动;





希望这有助于你
Put your gridview inside the div tag with style="width="200px"; height="300px"; overflow:scroll;"


hope this help you


这篇关于Gridview通过添加更多记录来扩展和删除表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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