日期:2014-05-18  浏览次数:20467 次

请问如何给GridView加上一个横向滚动条
GridView里边加载数据字段太多 ,使得GridView的长度远超过1024 请问如何给GridView加上一个横向滚动条 
让数据拖动GridView的滚动条就可以看到 而不是通过拖动IE 滚动条

------解决方案--------------------
<asp:Panel ID="Panel1" runat="server" Height="185px" ScrollBars="Auto" Width="641px">
<asp:GridView ID="DG" runat="server" AllowPaging="True" AutoGenerateColumns="False" Width="865px" ForeColor="#000040">
 </asp:GridView>
</asp:Panel>