-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDelete.aspx
More file actions
122 lines (116 loc) · 5.08 KB
/
Delete.aspx
File metadata and controls
122 lines (116 loc) · 5.08 KB
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
<%@ Page Language="VB" MasterPageFile="~/Main.master" AutoEventWireup="false" CodeFile="Delete.aspx.vb" Inherits="Delete" title="Untitled Page" Debug="true"%>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
.style4
{
width: 91px;
}
.style5
{
width: 191px;
}
.style6
{
width: 172px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<p style="height: 28px">
<asp:Label ID="Label2" runat="server" Font-Size="X-Large" Text="Delete Books"></asp:Label>
</p>
<p style="height: 84px">
<table style="width: 100%; height: 105px;">
<tr>
<td class="style4">
<asp:Label ID="Label3" runat="server" Text="Kode MK"></asp:Label>
</td>
<td class="style5">
<asp:TextBox ID="TextBoxKodeMK" runat="server" Width="210px"></asp:TextBox>
</td>
<td>
<asp:Label ID="LabelErrorKodeMk" runat="server" ForeColor="#FF3300"></asp:Label>
</td>
</tr>
<tr>
<td class="style4">
<asp:Label ID="Label4" runat="server" Text="Pengarang"></asp:Label>
</td>
<td class="style5">
<asp:TextBox ID="TextBoxPengarang" runat="server" Width="210px"></asp:TextBox>
</td>
<td>
</td>
</tr>
<tr>
<td class="style4">
<asp:Label ID="Label5" runat="server" Text="Judul"></asp:Label>
</td>
<td class="style5">
<asp:TextBox ID="TextBoxJudul" runat="server" Width="210px"></asp:TextBox>
</td>
<td>
</td>
</tr>
<tr>
<td class="style4">
<asp:Label ID="Label6" runat="server" Text="Penerbit"></asp:Label>
</td>
<td class="style5">
<asp:TextBox ID="TextBoxPenerbit" runat="server" Width="210px"></asp:TextBox>
</td>
<td>
</td>
</tr>
<tr>
<td class="style4">
</td>
<td class="style5">
<asp:Button ID="Button1" runat="server" Text="Search" />
<asp:Button ID="Button2" runat="server" Text="Clear" />
</td>
<td>
</td>
</tr>
</table>
<asp:GridView ID="GridView1" runat="server" BackColor="#DEBA84"
BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3"
CellSpacing="2" AutoGenerateColumns="False" DataKeyNames="KodeMK"
DataSourceID="AccessDataSource2" AllowPaging="True"
AllowSorting="True">
<RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
<Columns>
<asp:CommandField SelectText="Delete" ShowSelectButton="True" />
<asp:BoundField DataField="KodeMK" HeaderText="KodeMK" ReadOnly="True"
SortExpression="KodeMK" />
<asp:BoundField DataField="Judul" HeaderText="Judul" SortExpression="Judul" />
<asp:BoundField DataField="Pengarang" HeaderText="Pengarang"
SortExpression="Pengarang" />
<asp:BoundField DataField="Penerbit" HeaderText="Penerbit"
SortExpression="Penerbit" />
<asp:BoundField DataField="Status" HeaderText="Status"
SortExpression="Status" />
<asp:BoundField DataField="TglPinjam" HeaderText="TglPinjam"
SortExpression="TglPinjam" />
<asp:BoundField DataField="TglKembali" HeaderText="TglKembali"
SortExpression="TglKembali" />
</Columns>
<FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
<PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
</asp:GridView>
<asp:AccessDataSource ID="AccessDataSource2" runat="server"
DataFile="~/Database/library.mdb" SelectCommand="SELECT * FROM books">
</asp:AccessDataSource>
</p>
<p style="height: 6px">
</p>
<p style="height: 23px">
</p>
<p style="height: 23px">
</p>
<p style="height: 118px">
</p>
</asp:Content>