-
Notifications
You must be signed in to change notification settings - Fork 0
/
manage_doctor.aspx
72 lines (66 loc) · 3.49 KB
/
manage_doctor.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
<%@ Page Title="" Language="C#" MasterPageFile="~/AdminMasterPage.master" AutoEventWireup="true" CodeFile="manage_doctor.aspx.cs" Inherits="Default2" %>
<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:Literal ID="Literal5" runat="server" Text="Enter Doctor Name :" ></asp:Literal>
<asp:TextBox ID="TextBox4" runat="server" class="form-control form-control-user" placeholder="Enter Doctor Name..."></asp:TextBox>
<asp:Literal ID="Literal6" runat="server" Text="Enter Speciality :"></asp:Literal>
<asp:TextBox ID="TextBox5" class="form-control form-control-user" placeholder="Enter Speciality..." runat="server"></asp:TextBox>
<asp:Literal ID="Literal7" runat="server" Text="Add Doctor Photo :"></asp:Literal>
<br />
<asp:FileUpload ID="FileUpload1" class="form-control form-control-user" runat="server" />
<asp:Image ID="Image2" runat="server" Height="92px" Width="96px" />
<br />
<asp:Literal ID="Literal8" runat="server" Text="Status :"></asp:Literal>
<asp:RadioButtonList ID="RadioButtonList1" runat="server"
RepeatDirection="Horizontal">
<asp:ListItem Value="1">Active</asp:ListItem>
<asp:ListItem Value="0">Deactive</asp:ListItem>
</asp:RadioButtonList>
<br />
<asp:Button ID="Button1" runat="server" Text="Submit"
class="btn btn-success" onclick="Button1_Click" />
<br />
<br />
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
Width="725px">
<Columns>
<asp:TemplateField HeaderText="ID">
<ItemTemplate>
<asp:Literal ID="Literal1" runat="server" Text='<%# Eval("id") %>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="DOCTOR NAME">
<ItemTemplate>
<asp:Literal ID="Literal2" runat="server" Text='<%# Eval("doctor_name") %>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="SPECIALITY">
<ItemTemplate>
<asp:Literal ID="Literal3" runat="server" Text='<%# Eval("speciality") %>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="IMAGE">
<ItemTemplate>
<asp:Image ID="Image1" runat="server" Height="81px" Width="78px"
ImageUrl='<%# Eval("image", "~/uploads/{0}") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="STATUS">
<ItemTemplate>
<asp:Literal ID="Literal9" runat="server" Text='<%# Eval("status") %>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="ACTION">
<ItemTemplate>
<asp:Button ID="Button2" runat="server" Text="EDIT"
class="btn btn-primary create-new-button" onclick="Button2_Click"
CommandArgument='<%# Eval("id") %>' />
<asp:Button ID="Button3" runat="server" Text="DELETE"
class="btn btn-danger create-new-button" onclick="Button3_Click"
CommandArgument='<%# Eval("id") %>'/>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<br />
<br />
</asp:Content>