-
Notifications
You must be signed in to change notification settings - Fork 0
/
DatewiseIssuedChallan.aspx
107 lines (95 loc) · 4.15 KB
/
DatewiseIssuedChallan.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
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="DatewiseIssuedChallan.aspx.cs" Inherits="Challan_Report" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
<style type="text/css">
.client_heading
{
font-size:16pt;
margin-top:24px;
margin-left:24px;
}
.find
{
float:left;
margin-top:31px;
margin-left:24px;
width:50px;
font-size:11pt
}
.ddl
{
float:left;
margin-top:31px;
width:100px;
}
.txt
{
float:left;
margin-top:30px;
}
.btn
{
float:left;
margin-top:30px;
margin-left:10px
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
<div class="client_heading">Challan Issued Datewise</div>
<div style="height: 66px; margin-top: 5px">
<div class="find">
<asp:Label ID="Label2" runat="server" Text="">From:</asp:Label>
</div>
<div class="txt">
<asp:TextBox ID="txtStartDate" runat="server" Width="66" Text="20/3/2013"></asp:TextBox>
</div>
<div class="find" style="width:32px">
<asp:Label ID="Label3" runat="server" Text="">To:</asp:Label>
</div>
<div class="txt">
<asp:TextBox ID="txtEndDate" runat="server" Width="66" Text="20/3/2013"></asp:TextBox>
</div>
<div class="btn">
<asp:Button ID="btnSubmit" runat="server" Text="Read" />
</div>
</div>
<div style="clear:both; margin-left:26px; margin-top:20px; font-size:9pt;">
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:eChallanConnectionString2 %>"
SelectCommand="RptChallan" SelectCommandType="StoredProcedure">
<SelectParameters>
<asp:ControlParameter ControlID="txtStartDate" Name="StartDate"
PropertyName="Text" DbType="Date"/>
<asp:ControlParameter ControlID="txtEndDate" Name="EndDate"
PropertyName="Text" DbType="Date" />
</SelectParameters>
</asp:SqlDataSource>
<asp:GridView ID="GridView1" runat="server" DataSourceID="SqlDataSource1"
Width="500px" CellPadding="4" ForeColor="#333333"
GridLines="None" AutoGenerateColumns="False">
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
<Columns>
<asp:TemplateField HeaderText="Sr">
<ItemTemplate>
<%# Container.DataItemIndex + 1 %>
</ItemTemplate>
<HeaderStyle HorizontalAlign="Left" />
<ItemStyle HorizontalAlign="Left" />
</asp:TemplateField>
<asp:BoundField DataField="Date" HeaderText="Date" HeaderStyle-HorizontalAlign="Left" />
<asp:BoundField DataField="Challan Type" HeaderText="Challan Type" HeaderStyle-HorizontalAlign="Left"/>
<asp:BoundField DataField="Owner" HeaderText="Owner" HeaderStyle-HorizontalAlign="Left"/>
</Columns>
<EditRowStyle BackColor="#999999" />
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" Height="26px" />
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" Height="22px" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
<SortedAscendingCellStyle BackColor="#E9E7E2" />
<SortedAscendingHeaderStyle BackColor="#506C8C" />
<SortedDescendingCellStyle BackColor="#FFFDF8" />
<SortedDescendingHeaderStyle BackColor="#6F8DAE" />
</asp:GridView>
</div>
</asp:Content>