forked from hard1code/hand_shaken-webfrom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
StudentAdd.aspx
50 lines (50 loc) · 2.05 KB
/
StudentAdd.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<%@ Page Title="" Language="C#" MasterPageFile="~/SiteStudent.Master" AutoEventWireup="true" CodeBehind="StudentAdd.aspx.cs" Inherits="hand_shaken_webform.StudentAdd" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<table class="table table-bordered;" style=" width:500px">
<tr>
<td class="width:30%">學號</td>
<td>
<asp:TextBox ID="Std_Id" runat="server" BorderStyle="Solid" Width="95%" ></asp:TextBox>
</td>
</tr>
<tr>
<td>姓名</td>
<td>
<asp:TextBox ID="Std_Name" runat="server" BorderStyle="Solid" Width="95%" ></asp:TextBox>
</td>
</tr>
<tr>
<td>性別</td>
<td>
<asp:RadioButtonList ID="SexList" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Text="M" Value="1" ></asp:ListItem>
<asp:ListItem Text="F" Value="0" ></asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr>
<td>學系</td>
<td>
<asp:Dropdownlist ID="DepList" DataTextField='Dep_Name' DataValueField="Dep_Id" runat="server" CssClass="fulltext" width="100%" />
</td>
</tr>
<tr>
<td>宗教</td>
<td>
<asp:Dropdownlist ID="ReligionList" DataTextField='Rel_Name' DataValueField="Rel_Id" runat="server" CssClass="fulltext" width="100%" />
</td>
</tr>
<tr>
<td>社團</td>
<td>
<asp:Dropdownlist ID="ClubList" DataTextField='Club_Name' DataValueField="Club_Id" runat="server" CssClass="fulltext" width="100%" />
</td>
</tr>
<tr>
<td></td>
<td style="text-align:left">
<asp:Button ID="confirm" Text="確認" runat="server" Width="95%" CssClass="btn btn-primary" OnClick="confirm_Click" />
</td>
</tr>
</table>
</asp:Content>