温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:明日企业下载管理系统源码
当前文件:
MingriEnterprise/BackAdmin/Matter/Matter.aspx,打开代码结构图
MingriEnterprise/BackAdmin/Matter/Matter.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Matter.aspx.cs" Inherits="BackAdmin_Matter" %> 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
OnRowDeleting="GridView1_RowDeleting" PageSize="5" Width="516px" OnRowDataBound="GridView1_RowDataBound"> 67
<FooterStyle BackColor="White" ForeColor="#000066" /> 68
<Columns> 69
<asp:BoundField DataField="ques" HeaderText="问题"> 70
<ItemStyle HorizontalAlign="Center" /> 71
<HeaderStyle HorizontalAlign="Center" /> 72
</asp:BoundField> 73
<asp:BoundField DataField="an" HeaderText="答案"> 74
<ItemStyle HorizontalAlign="Center" /> 75
<HeaderStyle HorizontalAlign="Center" /> 76
<FooterStyle HorizontalAlign="Center" /> 77
</asp:BoundField> 78
<asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="UpdateMatter.aspx?ID={0}" 79
HeaderText="编辑" Text="编辑"> 80
<ControlStyle Font-Underline="False" ForeColor="Blue" /> 81
<ItemStyle HorizontalAlign="Center" /> 82
<HeaderStyle HorizontalAlign="Center" /> 83
</asp:HyperLinkField> 84
<asp:CommandField HeaderText="删除" ShowDeleteButton="True"> 85
<HeaderStyle HorizontalAlign="Center" /> 86
<ItemStyle HorizontalAlign="Center" /> 87
<ControlStyle Font-Underline="False" ForeColor="Red" /> 88
</asp:CommandField> 89
</Columns> 90
<RowStyle ForeColor="#000066" /> 91
<SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" /> 92
<PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" /> 93
<HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" /> 94
</asp:GridView> 95
</td> 96
<td align="left" colspan="1" style="width: 100px; text-align: center"> 97
</td> 98
</tr> 99
<tr> 100
<td style="width: 79px"> 101
</td> 102
<td colspan="4" style="width: 55px"> 103
</td> 104
<td style="width: 100px"> 105
</td> 106
</tr> 107
</table> 108
</td> 109
</tr> 110
</table> 111
</td> 112
</tr> 113
<tr> 114
</tr> 115
<tr> 116
<td style="width: 167px"> 117
</td> 118
<td style="width: 100px"> 119
</td> 120
</tr> 121
</table> 122
123
</div> 124
</form> 125
</body> 126
</html> 127




body
margin-top
