⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 messageedit.aspx

📁 办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="true" CodeFile="MessageEdit.aspx.cs" Inherits="Message_MessageManage_MessageEdit" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <script language="javascript" type="text/javascript" src="../../My97DatePicker/WdatePicker.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="true"
            EnableScriptLocalization="true">
        </asp:ScriptManager>
        <div>
            <div style="width: 779px; height: 462px">
                <table border="1" style="width: 784px; height: 358px">
                    <tr>
                        <td style="vertical-align: top; width: 45px; text-align: left; height: 507px;">
                            <div style="z-index: 100; left: 52px; width: 91px; position: absolute; top: 6px;
                                height: 23px; background-color: lightgrey">
                                消息编写区</div>
                            <cc1:CollapsiblePanelExtender ID="CollapsiblePanelExtender1" runat="server" TargetControlID="Panel1"
                                CollapseControlID="RadioButton1" ExpandControlID="RadioButton2">
                            </cc1:CollapsiblePanelExtender>
                            &nbsp;&nbsp;
                            <br />
                            <div style="width: 772px; height: 121px">
                                <asp:Label ID="Label1" runat="server" Font-Bold="True" Text="消息标题:" Width="118px"></asp:Label>
                                <asp:TextBox ID="TextBox1" runat="server" Width="188px"></asp:TextBox><br />
                                <asp:Label ID="Label2" runat="server" Text="消息类型:" Width="119px"></asp:Label>
                                <asp:DropDownList ID="DropDownList1" runat="server" Width="195px" DataSourceID="SqlDataSource1"
                                    DataTextField="MessageTypeName" DataValueField="MessageTypeId">
                                </asp:DropDownList>&nbsp;
                                <br />
                                <asp:Label ID="Label3" runat="server" Text="开始有效时间:" Width="120px"></asp:Label>
                                <asp:TextBox ID="TextBox2" runat="server" Width="188px" onfocus="new WdatePicker(this,null,false,'whyGreen')" ></asp:TextBox><br />
                                <asp:Label ID="Label4" runat="server" Text="结束有效时间:" Width="120px"></asp:Label>
                                <asp:TextBox ID="TextBox3" runat="server" Width="187px" onfocus="new WdatePicker(this,null,false,'whyGreen')" ></asp:TextBox><br />
                                <asp:Label ID="Label5" runat="server" Text="发送对象:" Width="119px"></asp:Label>
                                <asp:RadioButton ID="RadioButton1" runat="server" Text="所有人" GroupName="edit" Checked="True" />
                                <asp:RadioButton ID="RadioButton2" runat="server" Text="选择特定对象" GroupName="edit" /><br />
                                <asp:Panel ID="Panel1" runat="server" BackColor="#E0E0E0" BorderStyle="Groove" Height="96px"
                                    Width="767px">
                                    <div style="width: 769px; height: 109px">
                                        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                            <ContentTemplate>
                                                <div style="float: left; width: 33px; height: 9px">
                                                </div>
                                                <asp:Image ID="Image1" runat="server" Height="19px" ImageUrl="~/Images/search2.gif"
                                                    Width="20px" />
                                                <asp:Label ID="Label6" runat="server" Text="筛选范围"></asp:Label><br />
                                                <asp:CheckBox ID="CheckBox1" runat="server" Text="按机构" AutoPostBack="True" OnCheckedChanged="CheckBox1_CheckedChanged" />
                                                <asp:CheckBox ID="CheckBox2" runat="server" Text="按部门" AutoPostBack="True" OnCheckedChanged="CheckBox2_CheckedChanged" />
                                                <asp:CheckBox ID="CheckBox3" runat="server" Text="按员工号" AutoPostBack="True" OnCheckedChanged="CheckBox3_CheckedChanged" />
                                                <asp:CheckBox ID="CheckBox4" runat="server" Text="按姓名" AutoPostBack="True" OnCheckedChanged="CheckBox4_CheckedChanged" /><br />
                                                <asp:Label ID="Label7" runat="server" Text="机构:"></asp:Label>
                                                <asp:DropDownList ID="DropDownList2" runat="server" Width="141px" DataSourceID="SqlDataSource2"
                                                    DataTextField="BranchName" DataValueField="BranchId">
                                                </asp:DropDownList>&nbsp;
                                                <asp:Label ID="Label8" runat="server" Text="部门:"></asp:Label>
                                                <asp:DropDownList ID="DropDownList3" runat="server" Width="138px" DataSourceID="SqlDataSource3"
                                                    DataTextField="DepartName" DataValueField="DepartId">
                                                </asp:DropDownList>&nbsp;
                                                <asp:Label ID="Label9" runat="server" Text="员工号:"></asp:Label>
                                                <asp:TextBox ID="TextBox4" runat="server" Width="90px"></asp:TextBox>
                                                <asp:Label ID="Label10" runat="server" Text="姓名:"></asp:Label>
                                                <asp:TextBox ID="TextBox5" runat="server" Width="76px"></asp:TextBox><br />
                                                &nbsp;(模糊查找 eg:李)
                                                <br />
                                                <div style="float: left; width: 296px; height: 14px">
                                                </div>
                                                <asp:Button ID="Button1" runat="server" Text="确定查询范围" OnClick="Button1_Click" />
                                            </ContentTemplate>
                                        </asp:UpdatePanel>
                                    </div>
                                    <asp:Panel ID="Panel2" runat="server" Height="50px" Width="684px">
                                    </asp:Panel>
                                </asp:Panel>
                                <br />
                                <div style="width: 775px; height: 154px">
                                    <br />
                                    <asp:Label ID="Label11" runat="server" Font-Bold="True" Text="消息内容:"></asp:Label>
                                    <br />
                                    <div style="float: left; width: 156px; height: 132px">
                                    </div>
                                    <asp:TextBox ID="TextBox6" runat="server" Height="129px" TextMode="MultiLine" Width="567px"></asp:TextBox><br />
                                    <div style="float: left; width: 416px; height: 21px">
                                    </div>
                                    <asp:Button ID="Button2" runat="server" Text="保存消息" Width="82px" OnClick="Button2_Click" />
                                    <asp:Button ID="Button3" runat="server" Text="返回" Width="74px" OnClick="Button3_Click" /></div>
                            </div>
                            <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:MyOfficeConnectionString2 %>"
                                SelectCommand="SELECT * FROM [MessageType]"></asp:SqlDataSource>
                            <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:MyOfficeConnectionString2 %>"
                                SelectCommand="SELECT * FROM [BranchInfo]"></asp:SqlDataSource>
                            <asp:SqlDataSource ID="SqlDataSource3" runat="server" ConnectionString="<%$ ConnectionStrings:MyOfficeConnectionString2 %>"
                                SelectCommand="SELECT * FROM [DepartInfo]"></asp:SqlDataSource>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -