温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:唐唐企业管理网站源码
当前文件:
TangCompany/Manager/EditerMessage.aspx,打开代码结构图
TangCompany/Manager/EditerMessage.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EditerMessage.aspx.cs" Inherits="Manager_EditerMessage" ValidateRequest="false" %> 2
3
<!DOCTYPE aspx PUBLIC "-//W3C//DTD Xaspx 1.0 Transitional//EN" "http://www.w3.org/TR/xaspx1/DTD/xaspx1-transitional.dtd"> 4
5
<html xmlns="http://www.w3.org/1999/xaspx" > 6
<head runat="server"> 7
<link href="ManagerStyle.css" rel="stylesheet" /> 8
<title>无标题页</title> 9
</head> 10
<body> 11
<asp:FormView ID="FormViewMessage" runat="server"> 12
<HeaderTemplate> 13
<table border="1" cellpadding="1" cellspacing="1"> 14
<tr> 15
<td height="28" colspan="4" align="center" bgcolor="#CCCCCC">编辑留言</td> 16
</tr> 17
<tr> 18
<td width="100" height="28" align="right">名称:</td> 19
<td width="150"> <asp:TextBox ID="TextBoxName" Text='<%# Bind("Name") %>' runat="server"></asp:TextBox></td> 20
<td width="74" align="right">性别:</td> 21
<td width="150"> <asp:TextBox ID="TextBoxSex" Text='<%# IsSex(Eval("Sex").ToString()) %>' runat="server"></asp:TextBox></td> 22
</tr> 23
</HeaderTemplate> 24
<ItemTemplate> 25
<tr> 26
<td height="28" align="right">Email:</td> 27
<td height="28"> <asp:TextBox ID="TextBoxEmail" Text='<%# Bind("Email") %>' runat="server"></asp:TextBox></td> 28
<td height="28" align="right">QQ:</td> 29
<td height="28"> <asp:TextBox ID="TextBoxQQ" Text='<%# Bind("QQ") %>' runat="server"></asp:TextBox></td> 30
</tr> 31
<tr> 32
<td height="28" align="right">是否为悄悄话:</td> 33
<td height="28"><asp:DropDownList ID="TextBoxHidden" SelectedValue='<%# IsBool(Eval("Types").ToString()) %>' runat="server"> 34
<asp:ListItem Text="是" Value="1"></asp:ListItem> 35
<asp:ListItem Text="否" Value="0"></asp:ListItem> 36
</asp:DropDownList></td> 37
<td height="28" align="right">是否显示:</td> 38
<td height="28"> <asp:DropDownList ID="SelectVis" SelectedValue='<%# IsBool(Eval("Vis").ToString()) %>' runat="server"> 39
<asp:ListItem Text="是" Value="1"></asp:ListItem> 40
<asp:ListItem Text="否" Value="0"></asp:ListItem> 41
</asp:DropDownList></td> 42
</tr> 43
<tr> 44
<td height="28" align="right">主页:</td> 45
<td height="28" colspan="3"> <asp:TextBox ID="TextBoxHomePage" Text='<%# Bind("HomePage") %>' runat="server"></asp:TextBox></td> 46
</tr> 47
<tr> 48
<td height="40" align="right">留言内容:</td> 49
<td height="40" colspan="3" align="left"> <asp:TextBox ID="TextBoxContent" Text='<%# Bind("Content") %>' runat="server" TextMode="MultiLine" Width="364px"></asp:TextBox></td> 50
</tr> 51
<tr> 52
<td height="50" colspan="4" align="center"> <asp:Button ID="ButtonUpdate" runat="server" Text="更 新" OnClick="ButtonUpdate_Click" /></td> 53
</tr> 54
</ItemTemplate> 55
<FooterTemplate> 56
</table> 57
</FooterTemplate> 58
</asp:FormView> 59
<form id="form1" runat="server"> 60
<div> 61
62
</div> 63
</form> 64
</body> 65
</html> 66



