📄 managermeeting.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="managermeeting.aspx.cs" Inherits="managermeeting" Title="管理会议-会议室预定系统" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script type="text/javascript">
function SelectAll(tempControl)
{
var theBox=tempControl;
xState=theBox.checked;
elem=theBox.form.elements;
for(i=0;i<elem.length;i++)
{
if(elem[i].type=="checkbox" && elem[i].id!=theBox.id)
{
if(elem[i].checked!=xState)
{
elem[i].click();
}
}
}
}
</script>
<table border="0" style="width: 620px">
<tr>
<td align="center" style="font-weight: bold; font-size: 15px; color: white; height: 20px;
background-color: #a43737">
管理会议</td>
</tr>
<tr>
<td align="center" style="height: 16px">
选择会议状态查看:<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
<asp:ListItem>待审批</asp:ListItem>
<asp:ListItem>已审批</asp:ListItem>
<asp:ListItem>已完成</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td align="left" style="height: 228px">
<asp:Panel ID="Panel1" runat="server" Height="500px" Width="1633px">
<table border="0" style="width: 633px">
<tr>
<td align="left" style="height: 160px">
<asp:DataGrid ID="gvmeetinginfo" runat =server AutoGenerateColumns="False" BackColor="LightGoldenrodYellow" BorderWidth="1px" CellPadding="2" ForeColor="Black" GridLines="None" Width="622px" PageSize="12" OnItemDataBound="gvmeetinginfo_ItemDataBound" OnPageIndexChanged="gvmeetinginfo_PageIndexChanged" CaptionAlign="Top" >
<FooterStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" />
<SelectedItemStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
<PagerStyle BackColor="Linen" ForeColor="DarkSlateBlue" HorizontalAlign="Center" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" NextPageText="下一页" PrevPageText="上一页" />
<AlternatingItemStyle BackColor="AntiqueWhite" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" />
<HeaderStyle BackColor="#FF9999" Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" ForeColor="Black" />
<Columns>
<asp:BoundColumn DataField="id" HeaderText="编号" Visible="False"></asp:BoundColumn>
<asp:BoundColumn DataField="name" HeaderText="会议名称"></asp:BoundColumn>
<asp:BoundColumn DataField="addr" HeaderText="会议地点"></asp:BoundColumn>
<asp:BoundColumn DataField="builder" HeaderText="创建人"></asp:BoundColumn>
<asp:BoundColumn DataField="begintime" HeaderText="开始时间"></asp:BoundColumn>
<asp:BoundColumn DataField="endtime" HeaderText="结束时间"></asp:BoundColumn>
<asp:BoundColumn DataField="attr" HeaderText="会议状态"></asp:BoundColumn>
<asp:BoundColumn DataField="datetime" HeaderText="提交时间"></asp:BoundColumn>
<asp:TemplateColumn>
<HeaderTemplate>
选择
</HeaderTemplate>
<ItemTemplate>
<asp:CheckBox ID="Checksingle" runat="server" />
</ItemTemplate>
<HeaderStyle Width="38px" />
</asp:TemplateColumn>
<asp:TemplateColumn>
<HeaderTemplate>
操作
</HeaderTemplate>
<ItemTemplate>
<a href='editmeeting.aspx?id=<%#DataBinder.Eval(Container.DataItem,"id")%>'>编辑</a>
</ItemTemplate>
<HeaderStyle Width="38px" />
</asp:TemplateColumn>
</Columns>
<ItemStyle BackColor="FloralWhite" Font-Bold="False" Font-Italic="False" Font-Overline="False"
Font-Strikeout="False" Font-Underline="False" />
</asp:DataGrid></td>
</tr>
<tr>
<td align="left" style="height: 25px">
<asp:CheckBox ID="Checkall" runat="server" onclick="javascript:SelectAll(this);"
Text="全选/全不选" />
<asp:Button ID="Btndel" runat="server" Height="21px" OnClick="Btndel_Click" Text="删除所选"
Width="62px" /></td>
</tr>
</table>
</asp:Panel>
<asp:Label ID="Labmessage" runat="server" Style="font-weight: bold; color: red"></asp:Label></td>
</tr>
</table>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -