温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:明日企业下载管理系统源码
1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ImgDrfauftAdmin.aspx.cs" Inherits="BackAdmin_ImgDrfauftAdmin_ImgDrfauftAdmin" %> 2
3
<%@ Register Src="WebUserControl.ascx" TagName="WebUserControl" TagPrefix="uc1" %> 4
5
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 6
7
<html xmlns="http://www.w3.org/1999/xhtml" > 8
<head runat="server"> 9
<title>企业门户网站</title> 10
<style> 11
body{ 12
margin-top:0px; 13
} 14
</style> 15
16
</head> 17
<body> 18
<form id="form1" runat="server"> 19
<div style="text-align: center"> 20
<table cellpadding="0" cellspacing="0" style="width: 800px"> 21
<tr> 22
<td colspan="2" style="background-image: url(../../image/企业门户后台1.jpg); height: 159px"> 23
</td> 24
</tr> 25
<tr> 26
<td rowspan="2" style="background-image: url(../../image/企业门户后台2.jpg); vertical-align: top; 27
width: 167px; height: 427px; text-align: center"> 28
<table cellpadding="0" cellspacing="0" style="width: 190px; height: 427px"> 29
<tr> 30
<td style="width: 190px; text-align: center"> 31
<uc1:WebUserControl ID="WebUserControl1" runat="server" /> 32
</td> 33
</tr> 34
</table> 35
</td> 36
<td rowspan="2" style="background-image: url(../../image/企业门户后台3.jpg); vertical-align: top; 37
width: 100px; text-align: center"> 38
<table cellpadding="0" cellspacing="0" style="width: 610px; height: 427px"> 39
<tr> 40
<td style="vertical-align: top; width: 100px; text-align: center"> 41
<table cellpadding="0" cellspacing="0" style="width: 610px; height: 177px"> 42
<tr> 43
<td colspan="1" style="width: 79px"> 44
</td> 45
<td colspan="4" style="width: 411px; text-align: center"> 46
<asp:Label ID="Label1" runat="server" Font-Size="9pt" ForeColor="Red" Text="首页图片管理"></asp:Label></td> 47
<td colspan="1" style="width: 100px"> 48
</td> 49
</tr> 50
<tr> 51
<td colspan="1" style="width: 79px; height: 19px; text-align: left"> 52
</td> 53
<td align="left" colspan="4" style="width: 411px; height: 19px; text-align: left"> 54
<asp:LinkButton ID="LinkButton1" runat="server" Font-Size="9pt" Font-Underline="False" 55
ForeColor="Red" OnClick="LinkButton1_Click">『上传图片』</asp:LinkButton></td> 56
<td colspan="1" style="width: 100px; height: 19px; text-align: left"> 57
</td> 58
</tr> 59
<tr> 60
<td align="left" colspan="1" style="width: 100px; text-align: center"> 61
</td> 62
<td align="left" colspan="4" style="width: 411px; text-align: center"> 63
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" 64
BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" 65
CellPadding="3" Font-Size="9pt" Font-Underline="False" OnPageIndexChanging="GridView1_PageIndexChanging" 66
OnRowDataBound="GridView1_RowDataBound" OnRowDeleting="GridView1_RowDeleting" 67
PageSize="5" Width="411px"> 68
<FooterStyle BackColor="White" ForeColor="#000066" /> 69
<Columns> 70
<asp:BoundField DataField="ID" HeaderText="图片编号" /> 71
<asp:HyperLinkField DataNavigateUrlFields="IMG" DataNavigateUrlFormatString="../../{0}" 72
DataTextField="IMG" HeaderText="等级图片" Target="_blank"> 73
<ItemStyle Font-Size="9pt" Font-Underline="False" /> 74
</asp:HyperLinkField> 75
<asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="Update.aspx?ID={0}" 76
HeaderText="编辑" Text="编辑"> 77
<ControlStyle Font-Underline="False" ForeColor="Blue" /> 78
<ItemStyle HorizontalAlign="Center" /> 79
<HeaderStyle HorizontalAlign="Center" /> 80
</asp:HyperLinkField> 81
</Columns> 82
<RowStyle ForeColor="#000066" /> 83
<SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" Font-Underline="False" /> 84
<PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" /> 85
<HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" /> 86
<EditRowStyle Font-Strikeout="False" Font-Underline="False" /> 87
<AlternatingRowStyle Font-Strikeout="False" Font-Underline="False" /> 88
</asp:GridView> 89
</td> 90
<td align="left" colspan="1" style="width: 100px; text-align: center"> 91
</td> 92
</tr> 93
<tr> 94
<td style="width: 79px"> 95
</td> 96
<td colspan="4" style="width: 55px"> 97
</td> 98
<td style="width: 100px"> 99
</td> 100
</tr> 101
</table> 102
</td> 103
</tr> 104
</table> 105
</td> 106
</tr> 107
<tr> 108
</tr> 109
<tr> 110
<td style="width: 167px"> 111
</td> 112
<td style="width: 100px"> 113
</td> 114
</tr> 115
</table> 116
117
</div> 118
</form> 119
</body> 120
</html> 121




body
margin-top
