📄 addmeeting.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="addmeeting.aspx.cs" Inherits="addmeeting" Title="我要添加会议-会议室预定系统" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table border="0" style="width: 633px">
<tr>
<td align="center" colspan="2" style="font-weight: bold; font-size: 15px; color: white;
height: 22px; background-color: #a43737">
我的会议-我要添加会议</td>
</tr>
<tr>
<td align="right" style="width: 191px">
会议名称:</td>
<td align="left">
<asp:TextBox ID="txtname" runat="server" Width="150px"></asp:TextBox><asp:RequiredFieldValidator
ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtname" Display="Dynamic"
ErrorMessage="RequiredFieldValidator">不能为空</asp:RequiredFieldValidator><asp:CustomValidator
ID="CustomValidator1" runat="server" ControlToValidate="txtname" Display="Dynamic"
ErrorMessage="CustomValidator" OnServerValidate="CustomValidator1_ServerValidate">该会议已经存在了</asp:CustomValidator></td>
</tr>
<tr style="color: #000000">
<td align="right" style="width: 191px;">
会议地点:</td>
<td align="left">
<asp:DropDownList ID="ddlroompos" runat="server" DataSourceID="SqlDataSource1" DataTextField="roomname"
DataValueField="roomname">
</asp:DropDownList><asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=D:\Meeting\db\meeting_Data.MDF;Integrated Security=True;Connect Timeout=30;User Instance=True"
ProviderName="System.Data.SqlClient" SelectCommand="SELECT [roomname] FROM [room]" >
</asp:SqlDataSource>
</td>
</tr>
<tr style="color: #000000">
<td align="right" style="width: 191px;">
开始时间:</td>
<td align="left">
<asp:DropDownList ID="ddlyear" runat="server" Style="font-weight: normal; color: black">
</asp:DropDownList>
年<asp:DropDownList ID="ddlmonth" runat="server" EnableTheming="True" OnSelectedIndexChanged="ddlmonth_SelectedIndexChanged"
Style="font-weight: normal; color: black" AutoPostBack="True">
</asp:DropDownList>
月<asp:DropDownList ID="ddlday" runat="server" Style="font-weight: normal">
</asp:DropDownList>日
<asp:DropDownList ID="ddlhour" runat="server">
</asp:DropDownList>时
<asp:DropDownList ID="ddlm" runat="server">
</asp:DropDownList>分</td>
</tr>
<tr style="color: #000000">
<td align="right" style="width: 191px;">
结束时间:</td>
<td align="left">
<asp:DropDownList ID="DropDownList1" runat="server" Style="font-weight: normal; color: black">
</asp:DropDownList>
年<asp:DropDownList ID="DropDownList2" runat="server" EnableTheming="True" OnSelectedIndexChanged="DropDownList2_SelectedIndexChanged"
Style="font-weight: normal; color: black" AutoPostBack="True">
</asp:DropDownList>
月<asp:DropDownList ID="DropDownList3" runat="server" Style="font-weight: normal">
</asp:DropDownList>日
<asp:DropDownList ID="DropDownList4" runat="server">
</asp:DropDownList>时
<asp:DropDownList ID="DropDownList5" runat="server">
</asp:DropDownList>分</td>
</tr>
<tr style="color: #000000">
<td align="right" style="width: 191px;">
与会人员:</td>
<td align="left">
<asp:Panel ID="Panel1" runat="server" Height="60px" ScrollBars="Vertical" Width="120px" BackColor="#FFC0C0" BorderColor="#FFC0C0">
<asp:CheckBoxList ID="CheckBoxList1" runat="server" Height="1px">
</asp:CheckBoxList></asp:Panel>
<asp:Label ID="Label1" runat="server" Visible="False"></asp:Label></td>
</tr>
<tr>
<td align="right" style="width: 191px;">
会议内容:</td>
<td align="left">
<asp:TextBox ID="txtnote" runat="server" Height="219px" TextMode="MultiLine" Width="283px"></asp:TextBox><asp:RequiredFieldValidator
ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtnote" Display="Dynamic"
ErrorMessage="RequiredFieldValidator">不能为空</asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtnote"
Display="Dynamic" ErrorMessage="RegularExpressionValidator" ValidationExpression=".{1,600}">不能超过600个字符</asp:RegularExpressionValidator></td>
</tr>
<tr>
<td align="center" colspan="2" style="height: 22px">
<asp:Button ID="Button2" runat="server" Height="20px" OnClick="Button2_Click" Text="提 交"
Width="48px" />
<asp:Button ID="Button1" runat="server" CausesValidation="False" Height="20px" OnClick="Button1_Click"
Text="清 空" Width="48px" /></td>
</tr>
<tr>
<td align="center" colspan="2">
<asp:Label ID="Labmessage" runat="server" Style="font-weight: bold; color: red"></asp:Label>
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/mymeeting.aspx" Visible="False">返回看看</asp:HyperLink></td>
</tr>
</table>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -