-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathReturnOnBook.aspx
More file actions
115 lines (113 loc) · 5.01 KB
/
ReturnOnBook.aspx
File metadata and controls
115 lines (113 loc) · 5.01 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
<%@ Page Title="" Language="VB" MasterPageFile="~/Main.master" AutoEventWireup="false" CodeFile="ReturnOnBook.aspx.vb" Inherits="ReturnOnBook" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<p>
<asp:Label ID="Label2" runat="server" Font-Size="X-Large" Text="Return On Books"></asp:Label>
</p>
<table style="width:100%;">
<tr>
<td class="style4">
<asp:Label ID="Label7" runat="server" Text="Member"></asp:Label>
</td>
<td class="style5">
<asp:DropDownList ID="DropDownList1" runat="server"
DataSourceID="AccessDataSource4" Width="235px" DataTextField="username"
DataValueField="username" AutoPostBack="True">
</asp:DropDownList>
</td>
<td>
</td>
</tr>
<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="235px"></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="235px"></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="235px"></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="235px"></asp:TextBox>
</td>
<td>
</td>
</tr>
<tr>
<td class="style4">
</td>
<td class="style5">
</td>
<td>
</td>
</tr>
</table>
<p>
<asp:Button ID="ButtonSearch" runat="server" Text="Search" />
<asp:Button ID="ButtonClear" runat="server" Text="Clear" />
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px"
CellPadding="3" CellSpacing="2" DataKeyNames="KodeMK"
DataSourceID="AccessDataSource3" AllowPaging="True" AllowSorting="True">
<RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
<Columns>
<asp:CommandField ShowSelectButton="True" SelectText="Return" />
<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="AccessDataSource4" runat="server"
DataFile="~/Database/library.mdb"
SelectCommand="SELECT [username] FROM [login] ORDER BY [username]">
</asp:AccessDataSource>
</p>
<p>
<asp:AccessDataSource ID="AccessDataSource3" runat="server"
DataFile="~/Database/library.mdb" SelectCommand="SELECT * FROM Books">
</asp:AccessDataSource>
</p>
</asp:Content>