温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:明日供求信息网源码
当前文件:
MingriGongQiu/BackGround/LeaguerInfo.aspx,打开代码结构图
MingriGongQiu/BackGround/LeaguerInfo.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="LeaguerInfo.aspx.cs" Inherits="BackGround_LeaguerInfo" %> 2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4
5
<html xmlns="http://www.w3.org/1999/xhtml" > 6
<head runat="server"> 7
<title>无标题页</title> 8
<link href="../Css/StyleSheet.css" rel="stylesheet" type="text/css" /> 9
</head> 10
<body style="background-position: center center; background-image: url(images/htbj.JPG); background-repeat: no-repeat"> 11
<form id="form1" runat="server"> 12
<div> 13
<table style="width: 621px; height: 51px; position:absolute; left: 168px; top: 122px;" cellpadding="0" cellspacing="0"> 14
<tr> 15
<td style="width: 83px; height: 17px"> 16
信息类型:</td> 17
<td style="width: 399px; height: 17px"> 18
<asp:DropDownList ID="ddlType" runat="server" Width="151px"> 19
<asp:ListItem>招聘信息</asp:ListItem> 20
<asp:ListItem>求职信息</asp:ListItem> 21
<asp:ListItem>培训信息</asp:ListItem> 22
<asp:ListItem>家教信息</asp:ListItem> 23
<asp:ListItem>公寓信息</asp:ListItem> 24
<asp:ListItem>物品求购</asp:ListItem> 25
<asp:ListItem>物品出售</asp:ListItem> 26
<asp:ListItem>求兑出兑</asp:ListItem> 27
<asp:ListItem>车辆信息</asp:ListItem> 28
<asp:ListItem>寻求合作</asp:ListItem> 29
<asp:ListItem>企业广告</asp:ListItem> 30
</asp:DropDownList> 31
32
<asp:CheckBox ID="chkRecommend" runat="server" Text="是否为推荐信息" /></td> 33
<td style="height: 17px"> 34
</td> 35
</tr> 36
<tr> 37
<td style="width: 83px; height: 15px"> 38
信息标题:</td> 39
<td style="width: 399px; height: 15px"> 40
<asp:TextBox ID="txtTitle" runat="server" Width="390px"></asp:TextBox></td> 41
<td style="height: 15px"> 42
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtTitle" 43
ErrorMessage="* 必填项"></asp:RequiredFieldValidator></td> 44
</tr> 45
<tr> 46
<td style="width: 83px; height: 49px"> 47
信息内容:</td> 48
<td style="width: 399px; height: 49px"> 49
<asp:TextBox ID="txtInfo" runat="server" Height="138px" TextMode="MultiLine" Width="391px"></asp:TextBox></td> 50
<td style="height: 49px"> 51
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtInfo" 52
ErrorMessage="* 必填项"></asp:RequiredFieldValidator></td> 53
</tr> 54
<tr> 55
<td style="width: 83px; height: 4px"> 56
联系人:</td> 57
<td style="width: 399px; height: 4px"> 58
<asp:TextBox ID="txtLinkMan" runat="server"></asp:TextBox></td> 59
<td style="height: 4px"> 60
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtLinkMan" 61
ErrorMessage="* 必填项"></asp:RequiredFieldValidator></td> 62
</tr> 63
<tr> 64
<td style="width: 83px; height: 21px"> 65
联系电话:</td> 66
<td style="width: 399px; height: 21px"> 67
<asp:TextBox ID="txtTel" runat="server"></asp:TextBox></td> 68
<td style="height: 21px"> 69
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtTel" 70
ErrorMessage="* 必填项"></asp:RequiredFieldValidator></td> 71
</tr> 72
<tr> 73
<td style="width: 83px; height: 21px"> 74
有效天数:</td> 75
<td style="width: 399px; height: 21px"> 76
<asp:TextBox ID="txtDay" runat="server"></asp:TextBox></td> 77
<td style="height: 21px"> 78
<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtDay" 79
ErrorMessage="* 必填项"></asp:RequiredFieldValidator> 80
<asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="txtDay" 81
ErrorMessage="(只能输入整数)" MaximumValue="100" MinimumValue="1" Type="Integer"></asp:RangeValidator></td> 82
</tr> 83
<tr> 84
<td style="width: 83px; height: 70px"> 85
</td> 86
<td style="width: 399px; height: 70px" align="center"> 87
<asp:ImageButton ID="imgBtnAdd" runat="server" AlternateText="信息发布" Height="46px" 88
OnClick="imgBtnAdd_Click" Width="145px" ImageUrl="~/images/kaishifa.jpg" /></td> 89
<td style="height: 70px"> 90
</td> 91
</tr> 92
</table> 93
94
</div> 95
</form> 96
</body> 97
</html> 98



