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

📄 addkc.aspx

📁 系统使用VS2005编写 数据库 使用SQL server 2000 或 SQL server 2005 测试前请先修改app.config 或web.config 的数据库连接字符串
💻 ASPX
字号:
<%@ Page Language="C#"  MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="addKC.aspx.cs" Inherits="addKC" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
 <script type="text/javascript" src="<%=Request.ApplicationPath%>/GetDate/calendar.js"></script>
    <div>
        <table>
            <tr>
                <td colspan="2">
                    &nbsp;<asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="返回" />
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="添加" />
                    <asp:Label ID="lblMsg" runat="server" ForeColor="Red" Text="Label"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 100px">
                    <asp:Label ID="Label6" runat="server" Text="课程编号"></asp:Label></td>
                <td style="width: 100px">
                    <asp:TextBox ID="txtKCID" runat="server" Enabled="False"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 100px">
        <asp:Label ID="Label1" runat="server" Text="课程名:"></asp:Label></td>
                <td style="width: 100px">
        <asp:TextBox ID="txtKCName" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 100px">
                    <asp:Label ID="Label7" runat="server" Text="年  份:"></asp:Label></td>
                <td style="width: 100px">
                    <asp:DropDownList ID="ddlNian" runat="server">
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 100px">
                    <asp:Label ID="Label8" runat="server" Text="级    别:"></asp:Label></td>
                <td style="width: 100px">
                    <asp:DropDownList ID="ddlJIBie" runat="server">
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 100px">
        <asp:Label ID="Label2" runat="server" Text="负责人:"></asp:Label></td>
                <td style="width: 100px">
        <asp:TextBox ID="txtKCFZR" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 100px">
        <asp:Label ID="Label3" runat="server" Text="职称:"></asp:Label></td>
                <td style="width: 100px">
        <asp:TextBox ID="txtKCFZRZC" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 100px">
        <asp:Label ID="Label4"  runat="server" Text="申报日期:"></asp:Label></td>
                <td style="width: 100px">
        <asp:TextBox ID="txtSBRQ"  onfocus="setday(this)" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 100px">
        <asp:Label ID="Label5" runat="server" Text="批准日期:"></asp:Label></td>
                <td style="width: 100px">
        <asp:TextBox ID="txtPZRQ"  onfocus="setday(this)" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 100px">
                    <asp:Label ID="Label9" runat="server" Text="课程网站:"></asp:Label></td>
                <td style="width: 100px">
                    <asp:TextBox ID="txtkcPage" runat="server"></asp:TextBox></td>
            </tr>
        </table>
        &nbsp; &nbsp;&nbsp;<br />
        &nbsp;
        <br />
        &nbsp;
        <br />
        <br />
        <br />
    
    </div>
</asp:Content>

⌨️ 快捷键说明

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