会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Liangyy
博客园
首页
博问
闪存
新随笔
订阅
管理
GridView Css
<
table width
=
"
100%
"
border
=
"
0
"
align
=
"
center
"
cellpadding
=
"
0
"
cellspacing
=
"
5
"
style
=
"
height: 148px
"
>
<
tr
>
<
td valign
=
"
top
"
colspan
=
2
>
<
asp:GridView ID
=
"
GVlist
"
runat
=
"
server
"
AutoGenerateColumns
=
"
False
"
Width
=
"
100%
"
SelectedIndex
=
"
1
"
>
<
AlternatingRowStyle BackColor
=
"
#E2F8FF
"
></
AlternatingRowStyle
>
<
HeaderStyle HorizontalAlign
=
"
Center
"
BackColor
=
"
#99CCFF
"
></
HeaderStyle
>
<
Columns
>
<
asp:BoundField DataField
=
"
ID
"
HeaderText
=
"
ID
"
Visible
=
False
/>
<
asp:TemplateField
>
<
ItemTemplate
>
<
asp:CheckBox ID
=
"
chkExport
"
runat
=
"
server
"
AutoPostBack
=
true
OnCheckedChanged
=
"
chkExport_CheckedChanged
"
/>
</
ItemTemplate
>
</
asp:TemplateField
>
<
asp:BoundField DataField
=
"
Code
"
HeaderText
=
"
AAA
"
/>
<
asp:BoundField DataField
=
"
StaffName
"
HeaderText
=
"
BBB
"
/>
</
Columns
>
</
asp:GridView
>
</
td
>
</
tr
>
<
tr
>
<
asp:Panel ID
=
"
Panel1
"
runat
=
"
server
"
Width
=
"
100%
"
>
<
td align
=
right
>
<
asp:LinkButton id
=
btnFirst runat
=
"
server
"
ForeColor
=
Blue Width
=
"
44px
"
>
First
</
asp:LinkButton
>
<
asp:LinkButton id
=
btnPrev runat
=
"
server
"
ForeColor
=
Blue Width
=
"
42px
"
>
Prev
</
asp:LinkButton
>
<
asp:LinkButton id
=
btnNext runat
=
"
server
"
ForeColor
=
Blue Width
=
"
44px
"
>
Next
</
asp:LinkButton
>
<
asp:LinkButton id
=
btnLast runat
=
"
server
"
ForeColor
=
Blue Width
=
"
46px
"
Height
=
"
15
"
>
Last
</
asp:LinkButton
>
<
asp:Label id
=
lblCurrentIndex runat
=
"
server
"
Width
=
"
61px
"
>
CurrentIndex
</
asp:Label
>
<
asp:Label id
=
lblPageCount runat
=
"
server
"
Width
=
"
61px
"
>
PageCount
</
asp:Label
>
<
asp:DropDownList ID
=
"
DropGO
"
runat
=
"
server
"
Width
=
"
56px
"
AutoPostBack
=
"
True
"
>
</
asp:DropDownList
>
&
nbsp;
&
nbsp;
</
td
>
</
asp:Panel
>
</
tr
>
</
table
>
posted on
2006-05-18 16:27
Liangyy
阅读(
3461
) 评论(
1
)
编辑
收藏
举报
会员力量,点亮园子希望
刷新页面
返回顶部