温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:明日企业下载管理系统源码
当前文件:
MingriEnterprise/BackAdmin/Hyperlink/Hyperlink.aspx,打开代码结构图
MingriEnterprise/BackAdmin/Hyperlink/Hyperlink.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Hyperlink.aspx.cs" Inherits="BackAdmin_Hyperlink" %> 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
</head> 16
<body> 17
<form id="form1" runat="server"> 18
<div style="text-align: center"> 19
<table cellpadding="0" cellspacing="0" style="width: 800px"> 20
<tr> 21
<td colspan="2" style="background-image: url(../../image/企业门户后台1.jpg); height: 159px"> 22
</td> 23
</tr> 24
<tr> 25
<td rowspan="2" style="background-image: url(../../image/企业门户后台2.jpg); vertical-align: top; 26
width: 167px; height: 427px; text-align: center"> 27
<table cellpadding="0" cellspacing="0" style="width: 190px; height: 427px"> 28
<tr> 29
<td style="width: 190px; text-align: center"> 30
<uc1:WebUserControl ID="WebUserControl1" runat="server" /> 31
</td> 32
</tr> 33
</table> 34
</td> 35
<td rowspan="2" style="background-image: url(../../image/企业门户后台3.jpg); vertical-align: top; 36
width: 100px; text-align: center"> 37
<table cellpadding="0" cellspacing="0" style="width: 610px; height: 427px"> 38
<tr> 39
<td style="vertical-align: top; width: 100px; text-align: center"> 40
<table cellpadding="0" cellspacing="0" style="width: 610px; height: 177px"> 41
<tr> 42
<td colspan="1" style="width: 79px"> 43
</td> 44
<td colspan="4" style="width: 411px; text-align: center"> 45
<asp:Label ID="Label1" runat="server" Font-Size="9pt" ForeColor="Red" Text="友情链接管理"></asp:Label></td> 46
<td colspan="1" style="width: 100px"> 47
</td> 48
</tr> 49
<tr> 50
<td colspan="1" style="width: 79px; height: 19px; text-align: left"> 51
</td> 52
<td align="left" colspan="4" style="width: 411px; height: 19px; text-align: left"> 53
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
OnRowDeleting="GridView1_RowDeleting" PageSize="5" Width="526px" OnRowDataBound="GridView1_RowDataBound"> 67
<FooterStyle BackColor="White" ForeColor="#000066" /> 68
<Columns> 69
<asp:BoundField DataField="Name" HeaderText="名称"> 70
<ItemStyle HorizontalAlign="Center" /> 71
<HeaderStyle HorizontalAlign="Center" /> 72
</asp:BoundField> 73
<asp:BoundField DataField="Address" HeaderText="地址" > 74
<ItemStyle HorizontalAlign="Center" /> 75
<HeaderStyle HorizontalAlign="Center" /> 76
</asp:BoundField> 77
<asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="UpdateHyperlink.aspx?ID={0}" 78
HeaderText="编辑" Text="编辑"> 79
<ControlStyle Font-Underline="False" ForeColor="Blue" /> 80
<ItemStyle HorizontalAlign="Center" /> 81
<HeaderStyle HorizontalAlign="Center" /> 82
</asp:HyperLinkField> 83
<asp:CommandField HeaderText="删除" ShowDeleteButton="True"> 84
<HeaderStyle HorizontalAlign="Center" /> 85
<ItemStyle HorizontalAlign="Center" /> 86
<ControlStyle Font-Underline="False" ForeColor="Red" /> 87
</asp:CommandField> 88
</Columns> 89
<RowStyle ForeColor="#000066" /> 90
<SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" /> 91
<PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" /> 92
<HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" /> 93
</asp:GridView> 94
</td> 95
<td align="left" colspan="1" style="width: 100px; text-align: center"> 96
</td> 97
</tr> 98
<tr> 99
<td style="width: 79px"> 100
</td> 101
<td colspan="4" style="width: 55px"> 102
</td> 103
<td style="width: 100px"> 104
</td> 105
</tr> 106
</table> 107
</td> 108
</tr> 109
</table> 110
</td> 111
</tr> 112
<tr> 113
</tr> 114
<tr> 115
<td style="width: 167px"> 116
</td> 117
<td style="width: 100px"> 118
</td> 119
</tr> 120
</table> 121
122
</div> 123
</form> 124
</body> 125
</html> 126




body
margin-top
