<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="DailyCCTransactionLog.aspx.cs" Inherits="DailyCCTransactionLog" %> <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"> <script language="javascript" type="text/javascript"> $(document).ready(function () { $("[id$=txtTransDate]").datepicker({ changeMonth: true, changeYear: true, dateFormat: 'mm-dd-yy' }); $("[id$=txtDepositDate]").datepicker({ changeMonth: true, changeYear: true, dateFormat: 'mm-dd-yy' }); }); </script> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"> <br /> <h2>Upload Daily Cash and Check Transaction Logsheet</h2> <br /><br /> <asp:AccessDataSource ID="adsJK" runat="server" DataFile="~/App_Data/Burial.mdb" SelectCommand="SELECT [JKID], [JKName] FROM [Jamatkhana]"></asp:AccessDataSource> <table> <tr> <td style="float:right;"> Jamatkhana: </td> <td colspan="2"> <asp:DropDownList ID="ddlJamatkhana" runat="server" AppendDataBoundItems="True" DataSourceID="adsJK" DataTextField="JKName" DataValueField="JKID" CssClass="required eitField" > <asp:ListItem Value="">- Select Jamatkhana -</asp:ListItem> </asp:DropDownList> </td> </tr> <tr> <td style="float:right;"> Last Transaction Date: </td> <td colspan="2"> <asp:TextBox ID="txtTransDate" runat="server" CssClass="eitField water" Text="mm-dd-yyyy" ToolTip="mm-dd-yyyy" ></asp:TextBox> <asp:CheckBox ID="chkMultDays" runat="server" Text="Multiple Days" /> </td> </tr> <tr> <td style="float:right;"> Total Deposit Amount: </td> <td colspan="2"> <asp:TextBox ID="txtTotalDepositAmount" runat="server" CssClass="eitField" ></asp:TextBox> </td> </tr> <tr> <td style="float:right;"> Deposit Date: </td> <td colspan="2"> <asp:TextBox ID="txtDepositDate" runat="server" CssClass="eitField water" Text="mm-dd-yyyy" ToolTip="mm-dd-yyyy" ></asp:TextBox> </td> </tr> <tr> <td style="float:right;"> Deposit Ref#: </td> <td colspan="2"> <asp:TextBox ID="txtDepositSlipNumber" runat="server" CssClass="eitField water" Text="Bank Ref Number" ToolTip="Bank Ref Number"></asp:TextBox> </td> </tr> <tr> <td style="float:right;"> Transaction Logsheet: </td> <td> <asp:FileUpload ID="FileUpload1" runat="server" CssClass="eitField" />    </td> <td> <asp:Button ID="btnUpload1" runat="server" Text="Upload File" OnClick="btnUpload1_Click" OnClientClick="return CustomValidate();" /> </td> </tr> <tr> <td> </td> <td> </td> <td> <asp:Label ID="Label1" runat="server"></asp:Label> </td> </tr> </table> </asp:Content>