[英]C# - ScrollBar in DataGridView
如果您在 Windows 窗體中使用 DataGridView,則有一個名為 ScrollBars 的屬性,您可以在那里有選項,選擇適合您要求的選項。
如果您使用的是 ASP.NET,請將您的 DataGridView 放在一個 div 中,即
<div style="width: 100%; height: 400px; overflow: scroll">your GridView</div>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.