现在的位置: 首页 > 综合 > 正文

创建表头固定,表体可滚动的GridView

2013年02月17日 ⁄ 综合 ⁄ 共 3599字 ⁄ 字号 评论关闭

本方法只需要设置一个GridView的宽度,其它宽度不需要设置。测试环境:IE6,Firefox通过。

C#

br /> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

http://www.w3.org/1999/xhtml">

 

 

   
     
       

     

   

         
         

         

                          GridLines="Both" CellPadding="4" Width="560">
             
           
         

       

 

VB.NET

ttp://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

http://www.w3.org/1999/xhtml">

 

 

   
     
       

     

   

         
         

         

                          GridLines="Both" CellPadding="4" Width="560">
             
           
         

       

 

 

抱歉!评论已关闭.