All articles(网络文学目录) All Pictures(图片目录) All Softwares(软件目录)

 
创建表头固定,表体可滚动的GridView_[Asp.Net教程]

Writer: delv Article type: Programming skills(编程技巧) Time: 2014/1/23 3:13:47 Browse times: 315 Comment times: 0

创建表头固定,表体可滚动的GridView_[Asp.Net教程]


Head photo

Image
Go homepage
Upload pictures
Write articles

创建表头固定,表体可滚动的GridView_[Asp.Net教程]























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







C#




<%@ Page Language="C#" AutoEventWireup="true" %>




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














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





















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

















VB.NET




<%@ Page Language="VB" %>

















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





















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






















来源:孟宪会之精彩世界















































There are 0 records,
Comment:
Must be registered users to comment(必须是注册用户才能发表评论)

Disclaimer Privacy Policy About us Site Map
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.