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

📄 adddepart.aspx

📁 商机管理系统
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="adddepart.aspx.cs" Inherits="depart_users_adddepart" %>

<!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>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <fieldset>
    <legend>
    添加组织
    </legend>
    <table width=90% align="center">
    <tr>
        <td align=right width=30%>
        组织名称:
        </td>
        <td align="left" width=70%>
            <asp:TextBox ID="Tb_Name" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td align=right width=30%>
        上级组织:
        </td>
        <td align="left" width=70%>
            <asp:DropDownList ID="Drop_Parent" runat="server" DataSourceID="SqlDataSource1"
                DataTextField="name" DataValueField="name">
            </asp:DropDownList></td>
    </tr>
    <tr>
        <td align=right width=30%>
        组织层次:
        </td>
        <td align="left" width=70%>
            <asp:DropDownList ID="Drop_Layer" runat="server">
                <asp:ListItem>部门/中心</asp:ListItem>
                <asp:ListItem>部室</asp:ListItem>
                <asp:ListItem>班组</asp:ListItem>
            </asp:DropDownList></td>
    </tr>
    <tr>
        <td align=right width=30%>
        状态:
        </td>
        <td align="left" width=70%>
            <asp:RadioButtonList ID="Radio_State" runat="server" RepeatDirection="Horizontal">
                <asp:ListItem Selected="True">在用</asp:ListItem>
                <asp:ListItem>撤销</asp:ListItem>
            </asp:RadioButtonList></td>
    </tr>
    </table>
    <table align="center" width=90%>
    <tr>
        <td align="right">
            <asp:Button ID="Btn_Apply" runat="server" Text="确定" OnClick="Btn_Apply_Click" />
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</td>
        <td align="left" width=50%>
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
            <asp:Button ID="Btn_Cancel" runat="server" Text="取消" OnClick="Btn_Cancel_Click" />
        </td>
    </tr>
    </table>
    </fieldset>
    </div>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:sjglxt %>"
            SelectCommand="SELECT name FROM depart where departid=@id">
            <SelectParameters>
                <asp:ControlParameter ControlID="HiddenField1" Name="id" PropertyName="Value" />
            </SelectParameters>
        </asp:SqlDataSource>
        <asp:HiddenField ID="HiddenField1" runat="server" />
    </form>
</body>
</html>

⌨️ 快捷键说明

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