温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:Asp.net简单会议事务系统
当前文件:
SimpleMeeting/editmeeting.aspx[8K,2009-6-12 11:54:08],打开代码结构图
SimpleMeeting/editmeeting.aspx[8K,2009-6-12 11:54:08],打开代码结构图1<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="editmeeting.aspx.cs" Inherits="editmeeting" Title="编辑会议-会议事务系统" %> 2
3
<%@ Register Assembly="Meta.Web" Namespace="Meta.Web.Controls" TagPrefix="mc" %> 4
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> 5
<table border="0" style="width: 633px"> 6
<tr> 7
<td align="center" colspan="2" style="font-weight: bold; font-size: 15px; color: white; 8
height: 22px; background-color: #a43737"> 9
我的会议-编辑会议</td> 10
</tr> 11
<tr> 12
<td align="right" style="width: 191px"> 13
会议名称:</td> 14
<td align="left"> 15
<asp:TextBox ID="txtname" runat="server" ReadOnly="True" Width="150px"></asp:TextBox></td> 16
</tr> 17
<tr style="color: #000000"> 18
<td align="right" style="width: 191px;"> 19
会议地点:</td> 20
<td align="left"> 21
<asp:DropDownList ID="ddlroompos" runat="server" DataSourceID="SqlDataSource1" DataTextField="roomname" 22
DataValueField="roomname"> 23
</asp:DropDownList><asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="Data Source=.;Initial Catalog=meeting;Integrated Security=True" 24
ProviderName="System.Data.SqlClient" SelectCommand="SELECT [roomname] FROM [room]"> 25
</asp:SqlDataSource> 26
</td> 27
</tr> 28
<tr style="color: #000000"> 29
<td align="right" style="width: 191px"> 30
开始时间:</td> 31
<td align="left" valign="middle"> 32
<asp:DropDownList ID="ddlyear" runat="server" Style="font-weight: normal; color: black"> 33
</asp:DropDownList> 34
年<asp:DropDownList ID="ddlmonth" runat="server" AutoPostBack="True" EnableTheming="True" 35
OnSelectedIndexChanged="ddlmonth_SelectedIndexChanged" Style="font-weight: normal; 36
color: black"> 37
</asp:DropDownList> 38
月<asp:DropDownList ID="ddlday" runat="server" Style="font-weight: normal"> 39
</asp:DropDownList>日 40
<asp:DropDownList ID="ddlhour" runat="server"> 41
</asp:DropDownList>时 42
<asp:DropDownList ID="ddlm" runat="server"> 43
</asp:DropDownList>分</td> 44
</tr> 45
<tr style="color: #000000"> 46
<td align="right" style="width: 191px;"> 47
结束时间:</td> 48
<td align="left"> 49
<asp:DropDownList ID="DropDownList1" runat="server" Style="font-weight: normal; color: black"> 50
</asp:DropDownList> 51
年<asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="True" EnableTheming="True" 52
OnSelectedIndexChanged="DropDownList2_SelectedIndexChanged" Style="font-weight: normal; 53
color: black"> 54
</asp:DropDownList> 55
月<asp:DropDownList ID="DropDownList3" runat="server" Style="font-weight: normal"> 56
</asp:DropDownList>日 57
<asp:DropDownList ID="DropDownList4" runat="server"> 58
</asp:DropDownList>时 59
<asp:DropDownList ID="DropDownList5" runat="server"> 60
</asp:DropDownList>分</td> 61
</tr> 62
<tr style="color: #000000"> 63
<td align="right" style="width: 191px; height: 1px"> 64
与会人员:</td> 65
<td align="left"> 66
<table border="0" style="width: 390px"> 67
<tr> 68
<td> 69
<asp:Panel ID="Panel1" runat="server" BackColor="#FFC0C0" BorderColor="#FFC0C0" Height="45px" 70
ScrollBars="Vertical" Width="200px"> 71
<asp:CheckBoxList ID="CheckBoxList1" runat="server" Height="1px" RepeatDirection="Horizontal"> 72
</asp:CheckBoxList></asp:Panel> 73
</td> 74
<td align="left" valign="top"> 75
<asp:TextBox ID="txtperson" runat="server" TextMode="MultiLine" Width="131px" ReadOnly="True" Height="40px"></asp:TextBox><asp:Label 76
ID="Label1" runat="server" Visible="False"></asp:Label></td> 77
</tr> 78
</table> 79
</td> 80
</tr> 81
<tr style="color: #000000"> 82
<td align="right" style="width: 191px; height: 1px"> 83
会务准备人:</td> 84
<td align="left" style="height: 1px" valign="top"> 85
<asp:Panel ID="Panel2" runat="server" Height="45px" ScrollBars="Vertical" Width="400px"> 86
<asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal"> 87
</asp:RadioButtonList></asp:Panel> 88
</td> 89
</tr> 90
<tr style="color: #000000"> 91
<td align="right" style="width: 191px; height: 1px"> 92
会务准备说明:</td> 93
<td align="left" style="height: 1px"> 94
<asp:TextBox ID="txtorganizenote" runat="server" Height="75px" TextMode="MultiLine" 95
Width="333px"></asp:TextBox> 96
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtorganizenote" 97
Display="Dynamic" ErrorMessage="RequiredFieldValidator">不能为空</asp:RequiredFieldValidator> 98
<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtorganizenote" 99
Display="Dynamic" ErrorMessage="RegularExpressionValidator" ValidationExpression=".{1,400}">不能超过400个字符</asp:RegularExpressionValidator></td> 100
</tr> 101
<tr> 102
<td align="right" style="width: 191px"> 103
会议内容:</td> 104
<td align="left"> 105
<asp:TextBox ID="txtnote" runat="server" Height="75px" TextMode="MultiLine" Width="333px"></asp:TextBox><asp:RequiredFieldValidator 106
ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtnote" Display="Dynamic" 107
ErrorMessage="RequiredFieldValidator">不能为空</asp:RequiredFieldValidator> 108
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtnote" 109
Display="Dynamic" ErrorMessage="RegularExpressionValidator" ValidationExpression=".{1,600}">不能超过600个字符</asp:RegularExpressionValidator></td> 110
</tr> 111
<tr> 112
<td align="right" style="width: 191px"> 113
会议纪要:</td> 114
<td align="left"> 115
<asp:TextBox ID="txtrecord" runat="server" Height="75px" TextMode="MultiLine" Width="333px"></asp:TextBox> 116
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtrecord" 117
Display="Dynamic" ErrorMessage="RequiredFieldValidator">不能为空</asp:RequiredFieldValidator><asp:RegularExpressionValidator 118
ID="RegularExpressionValidator3" runat="server" ControlToValidate="txtrecord" 119
Display="Dynamic" ErrorMessage="RegularExpressionValidator" ValidationExpression=".{1,1001}">不能超过1000个字符</asp:RegularExpressionValidator></td> 120
</tr> 121
<tr> 122
<td align="right" style="width: 191px; height: 14px"> 123
会议状态:</td> 124
<td align="left" style="height: 14px"> 125
<asp:DropDownList ID="ddlattr" runat="server"> 126
<asp:ListItem></asp:ListItem> 127
<asp:ListItem>待审批</asp:ListItem> 128
<asp:ListItem>已审批</asp:ListItem> 129
<asp:ListItem>已完成</asp:ListItem> 130
</asp:DropDownList></td> 131
</tr> 132
<tr> 133
<td align="center" colspan="2" style="height: 22px"> 134
<asp:Button ID="Button2" runat="server" Height="20px" OnClick="Button2_Click" Text="编 辑" 135
Width="48px" /> 136
137
<asp:Button ID="Button1" runat="server" CausesValidation="False" Height="20px" 138
Text="返 回" Width="48px" PostBackUrl="~/mymeeting.aspx" /></td> 139
</tr> 140
<tr> 141
<td align="center" colspan="2" style="height: 5px"> 142
<asp:Label ID="Labmessage" runat="server" Style="font-weight: bold; color: red"></asp:Label> 143
144
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/mymeeting.aspx" Visible="False">返回看看</asp:HyperLink></td> 145
</tr> 146
</table> 147
</asp:Content> 148
149




