-
Notifications
You must be signed in to change notification settings - Fork 0
/
bloodtype.aspx
214 lines (205 loc) · 12.5 KB
/
bloodtype.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
<%@ Page Title="" Language="C#" MasterPageFile="akshara.master"
AutoEventWireup="true" CodeFile="bloodtype.aspx.cs" Inherits="bloodtype" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
<style type="text/css">
.auto-style2 {
width: 100%;
height: 290px;
}
.auto-style3 {
width: 189px;
}
.auto-style4 {
position: relative;
display: table;
border-collapse: separate;
left: 0px;
top: 0px;
height: 201px;
}
.auto-style5 {
width: 189px;
height: 74px;
}
.auto-style6 {
height: 74px;
}
.auto-style8 {
width: 141px;
}
.auto-style9 {
width: 141px;
height: 74px;
}
.auto-style10 {
width: 141px;
height: 58px;
}
.auto-style11 {
width: 189px;
height: 58px;
}
.auto-style12 {
height: 58px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<div class="padding100">s
<div class="container">
<div id="loginbox" style="margin-top: 50px;" class="mainbox col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2">
<div class="panel panel-default">
<div class="panel-heading panel-heading-custom">
<div class="panel-title">
البحث عن فصيله </div>
</div>
<div style="padding-top: 30px" class="panel-body">
<div style="display: none" id="login-alert" class="alert alert-danger col-sm-12">
</div>
<div id="loginform" class="form-horizontal" role="form">
<div class="auto-style4">
<table class="auto-style2">
<tr>
<td class="auto-style10">
</td>
<td class="auto-style11">
<asp:DropDownList ID="drpGovernorate" runat="server" Height="30px" Width="189px" AutoPostBack="True" OnSelectedIndexChanged="drpGovernorate_SelectedIndexChanged" DataValueField="Address_id" DataTextField="Governrate">
</asp:DropDownList>
</td>
<td class="auto-style12">
<div class="label1">
<asp:Label ID="Label1" runat="server" Text="اختر المحافظه"></asp:Label>
</div>
</td>
<td class="auto-style12"></td>
</tr>
<tr>
<td class="auto-style9">
</td>
<td class="auto-style5">
<asp:DropDownList ID="drpCity" runat="server" Height="30px" Width="192px" DataValueField="City_id" DataTextField="City_Name">
</asp:DropDownList>
</td>
<td class="auto-style6">
<div class="label2">
<asp:Label ID="Label2" runat="server" Text="اختر المركز "></asp:Label>
</div>
</td>
<td class="auto-style6"></td>
</tr>
<tr>
<td class="auto-style9">
</td>
<td class="auto-style5">
<asp:DropDownList ID="drpBloodType" runat="server" Height="30px" Width="190px" CssClass="auto-style7" DataSourceID="BloodDs" DataTextField="Blood_Type" DataValueField="Blood_Id" >
<asp:ListItem>A</asp:ListItem>
<asp:ListItem>B</asp:ListItem>
<asp:ListItem>AB</asp:ListItem>
<asp:ListItem>O+</asp:ListItem>
<asp:ListItem>O-</asp:ListItem>
</asp:DropDownList>
<asp:SqlDataSource ID="BloodDs" runat="server" ConnectionString="Data Source=islam;Initial Catalog=OurProjectBloodBank;Integrated Security=True" ProviderName="System.Data.SqlClient" SelectCommand="SELECT * FROM [Blood_Type]"></asp:SqlDataSource>
</td>
<td class="auto-style6">
<div class="label3">
<asp:Label ID="Label3" runat="server" Text="اختر الفصليه"></asp:Label>
</div>
</td>
<td class="auto-style6"></td>
</tr>
<tr>
<td class="auto-style8">
</td>
<td class="auto-style3">
<asp:Button ID="Button2" runat="server" Text="ok" CssClass="btn btn-success" BackColor="#CC3300" Width="70px" OnClick="Button2_Click1" />
<br />
<br />
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style8">
</td>
<td colspan="3">
</td>
</tr>
</table>
</div>
<div style="margin-top: 10px" class="form-group">
</div>
<div class="form-group">
</div>
</div>
</div>
</div>
</div>
</div>
<asp:GridView ID="GridView1" runat="server" Width="340px" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="3" Font-Size="Large" HorizontalAlign="Center">
<FooterStyle BackColor="White" ForeColor="#000066" />
<HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
<RowStyle ForeColor="#000066" />
<SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
<SortedAscendingCellStyle BackColor="#F1F1F1" />
<SortedAscendingHeaderStyle BackColor="#007DBB" />
<SortedDescendingCellStyle BackColor="#CAC9C9" />
<SortedDescendingHeaderStyle BackColor="#00547E" />
</asp:GridView>
<div id="signupbox" style="display: none; margin-top: 50px" class="mainbox col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2">
<div class="panel panel-default">
<div class="panel-heading panel-heading-custom">
<div class="panel-title">
Sign Up</div>
<div style="float: right; font-size: 85%; position: relative; top: -10px">
</div>
</div>
<div class="panel-body">
<div id="signupform" class="form-horizontal" role="form">
<div class="form-group">
<label for="email" class="col-md-3 control-label">
Email</label>
<div class="col-md-9">
<asp:TextBox runat="server" ID="txtemail" CssClass="form-control" placeholder="Email Address"></asp:TextBox>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-md-3 control-label">
First Name</label>
<div class="col-md-9">
<asp:TextBox runat="server" ID="TextBox1" CssClass="form-control" placeholder="First Name"></asp:TextBox>
</div>
</div>
<div class="form-group">
<label for="lastname" class="col-md-3 control-label">
Last Name</label>
<div class="col-md-9">
<asp:TextBox runat="server" ID="TextBox2" CssClass="form-control" placeholder="Last Name"></asp:TextBox>
</div>
</div>
<div class="form-group">
<label for="password" class="col-md-3 control-label">
Password</label>
<div class="col-md-9">
<asp:TextBox runat="server" ID="TextBox3" CssClass="form-control" placeholder="Password" TextMode="Password"></asp:TextBox>
</div>
</div>
<div class="form-group">
<!-- Button -->
<div class="col-md-offset-3 col-md-9">
<button id="btn-signup" type="button" class="btn btn-info">
<i class="icon-hand-right"></i>  Sign Up</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</asp:Content>