-
Notifications
You must be signed in to change notification settings - Fork 0
/
state.aspx
74 lines (64 loc) · 3.11 KB
/
state.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage2.master" AutoEventWireup="true" CodeFile="state.aspx.cs" Inherits="state" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"><asp:Label style="margin-left: 40px" ID="Label1" runat="server" Text="Label"></asp:Label>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div style="margin-left: 40px"><div style="margin-right: 40px"><br/><br/>
<asp:HiddenField ID="HiddenField1" Value="insert" runat="server" />
<asp:HiddenField ID="HiddenField2" runat="server" />
<table style="width:1000px; height: 66px;">
<tr>
<td style="height: 26px" >
STATE :</td>
<td style="height: 26px" >
<asp:TextBox ID="TextBox1" runat="server" Height="19px" Width="130px"></asp:TextBox>
</td>
<td style="width: 274px; height: 26px" >
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1" ErrorMessage="please enter state" Font-Bold="True" Font-Italic="True" ForeColor="Red"></asp:RequiredFieldValidator>
</td>
<td rowspan="2" style="height: 40px; width: 274px" >
</td>
</tr>
<tr>
<td class="style4" style="width: 273px; height: 22px;" >
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="ADD STATE" />
</td>
<td class="modal-lg" style="width: 274px; height: 22px;" >
<asp:Button ID="Button2" runat="server" onclick="Button2_Click"
Text="Cancel" />
</td>
<td class="style1" style="width: 274px; height: 22px" >
</td>
</tr>
<tr>
<td class="style4" style="width: 273px; height: 22px;" >
</td>
<td class="modal-lg" style="width: 274px; height: 22px;" >
</td>
<td class="style1" style="width: 274px; height: 22px" >
</td>
<td class="style1" style="height: 22px; width: 274px" >
</td>
</tr>
</table>
<table style="width:100%;">
<tr>
<td class="style1">
</td>
</tr>
<tr>
<td class="style1">
</td>
</tr>
<tr>
<td class="style1"><div class="CSSTableGenerator">
<asp:GridView ID="GridView1" runat="server" OnRowDeleting="GridView1_RowDeleting" OnSelectedIndexChanging="GridView1_SelectedIndexChanging">
<Columns>
<asp:CommandField SelectText="Edit" ShowSelectButton="True" />
<asp:CommandField ShowDeleteButton="True" />
</Columns>
</asp:GridView>
</td>
</tr>
</table><br/><br/>
</div >
</asp:Content>