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

📄 basedata.aspx

📁 勤工俭学的管理系统 记录学生资料
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="baseData.aspx.cs" Inherits="baseData_aspx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>基本资料</title>
</head>
<body scroll="auto">
    <form id="form1" runat="server">
    <div>
        <table border="0" height="100%" style="width: 700px">
            <tr>
                <td colspan="3" style="height: 18px; width: 660px;">
                    名字:<asp:TextBox ID="stName" runat="server" Width="126px"></asp:TextBox>&nbsp; 班级:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:TextBox
                        ID="stClass" runat="server" Width="126px"></asp:TextBox>&nbsp; 
                    <asp:Button ID="stAdd" runat="server" Text="添加" Width="67px" OnClick="stAdd_Click" />
                    <asp:Button ID="stDel" runat="server" Text="删除" Width="68px" OnClick="stDel_Click" />
                    <br />
                    部门:<asp:TextBox ID="stPart"
                            runat="server" Width="126px"></asp:TextBox>&nbsp; 学号: &nbsp; &nbsp; &nbsp;
                    <asp:TextBox ID="stID" runat="server" Width="126px"></asp:TextBox>&nbsp;&nbsp;<asp:Button ID="stCh" runat="server" Text="查询与修改" Width="140px" OnClick="stCh_Click" /><br />
                    地址:<asp:TextBox ID="address" runat="server" Width="126px"></asp:TextBox>&nbsp; 空闲时间:<asp:TextBox
                        ID="spare" runat="server" Width="126px"></asp:TextBox>&nbsp;
                    <asp:Button ID="stSh" runat="server" Text="资料查询" Width="140px" OnClick="stSh_Click" /></td>
                
            </tr>
            <tr>
                <td colspan="3" style="width: 660px; height: 215px">
                    &nbsp;<asp:DataGrid AutoGenerateColumns="False" Height="324px" ID="DataGrid1" OnCancelCommand="DataGrid1_CancelCommand"
                        OnEditCommand="DataGrid1_EditCommand" OnUpdateCommand="DataGrid1_UpdateCommand"
                        runat="server" Width="614px" Visible="False">
                        <Columns>
                            <asp:BoundColumn DataField="ID" HeaderText="学号" ReadOnly="True"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Name" HeaderText="姓名" ReadOnly="True"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Class" HeaderText="班级" ReadOnly="True"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Part" HeaderText="部门"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Phone" HeaderText="联系方式"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Poor" HeaderText="贫困"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Address" HeaderText="地址"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Spare" HeaderText="空闲时间"></asp:BoundColumn>
                            <asp:EditCommandColumn CancelText="Cancel" EditText="Edit" HeaderText="操作" UpdateText="Update">
                            </asp:EditCommandColumn>
                        </Columns>
                        <AlternatingItemStyle BackColor="#99CC66" />
                        <ItemStyle BackColor="#66CC66" />
                        <HeaderStyle BackColor="#CCCCFF" />
                    </asp:DataGrid>
                </td>
            </tr>
            <tr>
                <td colspan="3" style="width: 660px; height: 78px;">
                    教师名字:<asp:TextBox ID="teaName" runat="server" Width="126px"></asp:TextBox>
                    <asp:Button ID="teaAdd" runat="server" Text="添加" Width="67px" OnClick="teaAdd_Click" /><br />
                    部门:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
                    <asp:TextBox ID="teaPart" runat="server" Width="126px"></asp:TextBox>
                    <asp:Button ID="teaDel" runat="server" Text="删除" Width="67px" OnClick="teaDel_Click" /><br />
                    联系方式:<asp:TextBox ID="teaPhone" runat="server" Width="126px"></asp:TextBox>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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