<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="WeeklyPostTransactionLog.aspx.cs" Inherits="WeeklyPostTransactionLog" %> <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', beforeShowDay: function (date) { return [date.getDay() == 0 || date.getDay() == 0, ""] } }); }); </script> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"> <br /> <h2>Upload Weekly Post Dated 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;"> Week of: </td> <td colspan="2"> <asp:TextBox ID="txtTransDate" runat="server" CssClass="eitField water" Text="mm-dd-yyyy" ToolTip="mm-dd-yyyy" ></asp:TextBox> </td> </tr> <tr> <td style="float:right;"> Total Amount: </td> <td colspan="2"> <asp:TextBox ID="txtTotalDepositAmount" runat="server" CssClass="eitField"></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>