-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAddGender.aspx
55 lines (52 loc) · 2.28 KB
/
AddGender.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
51
52
53
54
<%@ Page Title="" Language="C#" MasterPageFile="~/AdminMaster.master" AutoEventWireup="true" CodeFile="AddGender.aspx.cs" Inherits="AddGender" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="container">
<div class="form-horizontal">
<h2>Add Gender</h2>
<hr />
<div class="form-group">
<asp:Label ID="Label1" runat="server" CssClass="col-md-2 control-label" Text="Gender Name"></asp:Label>
<div class="col-md-3">
<asp:TextBox ID="txtGenderName" CssClass="form-control" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidatorUsername" CssClass="text-danger" runat="server" ErrorMessage="This field is Required !" ControlToValidate="txtGenderName"></asp:RequiredFieldValidator>
</div>
</div>
<div class="form-group">
<div class="col-md-2"></div>
<div class="col-md-6">
<asp:Button ID="btnAdd" runat="server" Text="Add" CssClass="btn btn-default" OnClick="btnAdd_Click" />
</div>
</div>
</div>
<h1>Gender</h1>
<hr />
<div class="panel panel-default">
<!-- Default panel contents -->
<div class="panel-heading">All Gender</div>
<asp:Repeater ID="rptrCategory" runat="server">
<HeaderTemplate>
<table class="table">
<thead>
<tr>
<th>#</th>
<th>Gender</th>
<th>Edit</th>
</tr>
</thead>
<tbody>
</HeaderTemplate>
<ItemTemplate>
<tr>
<th><%# Eval("GenderID") %></th>
<td><%# Eval("GenderName") %></td>
<td>Edit</td>
</tr>
</ItemTemplate>
<FooterTemplate>
</tbody>
</table>
</FooterTemplate>
</asp:Repeater>
</div>
</div>
</asp:Content>