ถ้า
GridView control
พยายามที่จะแสดงผลมากกว่าที่ column หรือ row จะรับได้ในหนึ่งหน้าเพจ
อาจทำให้ GridView control มีขนาดใหญ่เกินไป ซึ่งจะทำให้เปลี่ยนแปลงรูปแบบการแสดงผลของหน้าเพจ
โดยเราสามารถแก้ปัญหานี้ได้โดยการเพิ่ม scroll bar ในแบบแนวนอน/แนวตั้ง
ดังแสดงในตัวอย่างต่อไปนี้
<divstyle="vertical-align:top;
height:200px;
width:100%; overflow:auto;">
ฟอรัมที่เกี่ยวข้อง
Need a scrollbar in the GridView control
Supa Sethasiripong [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.