-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInputDenda.aspx
More file actions
126 lines (123 loc) · 5.23 KB
/
InputDenda.aspx
File metadata and controls
126 lines (123 loc) · 5.23 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
122
123
124
125
<%@ Page Title="" Language="VB" MasterPageFile="~/Main.master" AutoEventWireup="false" CodeFile="InputDenda.aspx.vb" Inherits="InputDenda" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
.style4
{
width: 106px;
}
.style5
{
width: 240px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<p>
<asp:Label ID="Label2" runat="server" Font-Size="X-Large" Text="Denda"></asp:Label>
</p>
<p>
<table style="width:100%;">
<tr>
<td class="style4">
<asp:Label ID="Label5" runat="server" Text="Tanggal Denda"></asp:Label>
</td>
<td class="style5">
<asp:Calendar ID="Calendar1" runat="server">
<SelectedDayStyle BackColor="#FF6666" />
<TodayDayStyle BackColor="#6699FF" BorderColor="#9900FF" />
</asp:Calendar>
</td>
<td>
</td>
</tr>
<tr>
<td class="style4">
Member</td>
<td class="style5">
<asp:DropDownList ID="ListMember" Width="235px" runat="server"
DataSourceID="AccessDataSource3" DataTextField="username"
DataValueField="username">
</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:DropDownList ID="DropDownList1" Width="235px" runat="server"
DataSourceID="AccessDataSource4" DataTextField="Judul"
DataValueField="KodeMK">
</asp:DropDownList>
</td>
<td>
</td>
</tr>
<tr>
<td class="style4">
<asp:Label ID="Label4" runat="server" Text="Jumlah Denda"></asp:Label>
</td>
<td class="style5">
<asp:TextBox ID="TextBox2" runat="server" Width="235px"></asp:TextBox>
</td>
<td>
</td>
</tr>
<tr>
<td class="style4">
</td>
<td class="style5">
</td>
<td>
<asp:Label ID="LabelError" runat="server" ForeColor="#FF3300"></asp:Label>
</td>
</tr>
</table>
</p>
<p>
<asp:Button ID="Button1" runat="server" Text="Save"/>
<asp:AccessDataSource ID="AccessDataSource3" runat="server"
DataFile="~/Database/library.mdb"
SelectCommand="SELECT [username] FROM [login] ORDER BY [username]">
</asp:AccessDataSource>
<asp:AccessDataSource ID="AccessDataSource4" runat="server"
DataFile="~/Database/library.mdb"
SelectCommand="SELECT [KodeMK], [Judul] FROM [books] ORDER BY [KodeMK], [Judul]">
</asp:AccessDataSource>
</p>
<p>
<asp:GridView ID="GridView1" runat="server" BackColor="#DEBA84"
BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3"
CellSpacing="2" AutoGenerateColumns="False" DataKeyNames="ID"
DataSourceID="AccessDataSource2" AllowPaging="True" AllowSorting="True">
<RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
<Columns>
<asp:CommandField ShowSelectButton="True" SelectText="Pay" />
<asp:BoundField DataField="ID" HeaderText="ID" ReadOnly="True"
SortExpression="ID" />
<asp:BoundField DataField="TglDenda" HeaderText="TglDenda"
SortExpression="TglDenda" DataFormatString="{0:d}" />
<asp:BoundField DataField="username" HeaderText="username"
SortExpression="username" />
<asp:BoundField DataField="KodeMK" HeaderText="KodeMK"
SortExpression="KodeMK" />
<asp:BoundField DataField="Jumlah" HeaderText="Jumlah"
SortExpression="Jumlah" />
<asp:BoundField DataField="Status" HeaderText="Status"
SortExpression="Status" />
</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 [denda] ORDER BY [TglDenda]">
</asp:AccessDataSource>
</p>
<p>
</p>
</asp:Content>