<%@ Page Title="" Language="C#" MasterPageFile="~/Page.Master" AutoEventWireup="true" CodeBehind="RSVPReport.aspx.cs" Inherits="NECPATEL.WebForm3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    </BR>
    <h2><asp:Label ID="lblHeading" runat="server" Text="RSVP Report"></asp:Label>
    </BR></h2> 
    <a name="Top"></a>
       
    <table>
        
        <tr>
            <td>Member Name :</td>
            <td colspan="2">
                <asp:TextBox ID="txtMember" runat="server"></asp:TextBox></td>
        </tr>
        <tr>
            <td>Paid by other? </td>
            <td colspan="2">
                <asp:CheckBox ID="chkPaidByOthers" Checked="true" runat="server" Text="" /></td>
            
        </tr>
        <tr>
            <td>Is Paid?</td>
            <td colspan="2">
                <asp:CheckBox ID="chkIsPaid" runat="server" Text="" Checked="true" /></td>
            

        </tr>
        <tr>
            <td>Payment type </td>
            <td colspan="2">
                <asp:DropDownList ID="ddlPaymentType" runat="server">

                    <asp:ListItem Value="1">Diwali 2016</asp:ListItem>
                    <asp:ListItem Value="2">Contribution 2016</asp:ListItem>
                    <asp:ListItem Value="3">Picnic 2016</asp:ListItem>
                    <asp:ListItem Value="4">Navratri 2016</asp:ListItem>
                    <asp:ListItem Value="5">Picnic 2017</asp:ListItem>
                    <asp:ListItem Value="12">Diwali 2017</asp:ListItem>
                    <asp:ListItem Value="20">Picnic 2025</asp:ListItem>
                    <asp:ListItem Selected="True" Value="21">Diwali 2025</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        
        <tr>
            <td></td>
            <td colspan="2">
                </td>
            
        </tr>
        <tr>
            <td></td>
            <td>
            <asp:Button ID="btnSearch" runat="server" Text="Search" OnClick="btnSearch_Click" /></td>
            <td><asp:Button ID="btnEmail" runat="server" Text="Send result" OnClick="btnEmail_Click" /></td>

        </tr>
       
       <%-- <tr> 
            <td colspan="3"><table><tr><td></td><td colspan="2">Veg</td><td colspan="2">Non-Veg</td></tr>
        <tr>
            <td></td>
                <td>Attending</td><td>NotAttending</td>
                <td>Attending</td><td>NotAttending</td>

           
             </tr>
            
            <tr>
            <td>Kids</td>
            <td><asp:Label ID="lblVegKidsAttending" runat="server" Text="Label"></asp:Label></td>
                <td><asp:Label ID="lblVegKidsNotAttending" runat="server" Text="Label"></asp:Label></td>
                <td><asp:Label ID="lblNonVegKidsAttending" runat="server" Text="Label"></asp:Label></td>
                <td><asp:Label ID="lblNonVegKidsNotAttending" runat="server" Text="Label"></asp:Label></td>
            </tr>
        <tr>
            <td>Adults</td>
            <td><asp:Label ID="Label1" runat="server" Text="Label"></asp:Label></td>
                <td><asp:Label ID="Label2" runat="server" Text="Label"></asp:Label></td>
                <td><asp:Label ID="Label3" runat="server" Text="Label"></asp:Label></td>
                <td><asp:Label ID="Label4" runat="server" Text="Label"></asp:Label></td>
            
           
             </tr>
        <tr>
            <td>Total</td>
            <td><asp:Label ID="Label5" runat="server" Text="Label"></asp:Label></td>
                <td><asp:Label ID="Label6" runat="server" Text="Label"></asp:Label></td>
                <td><asp:Label ID="Label7" runat="server" Text="Label"></asp:Label></td>
                <td><asp:Label ID="Label8" runat="server" Text="Label"></asp:Label></td>
            </tr>

            </tr> --%>
        <tr><td colspan="5">

            <asp:Label ID="lblTotalAttendingMembers" Visible="false" runat="server" Text="Label"></asp:Label>
            </td></tr>
    </table>
      <center>
<a href="#Bot">Bottom</a>
</center>  
    <div id="grid" style="width:1350px;overflow-y:scroll">
    <asp:GridView ID="gvResult" runat="server" AutoGenerateColumns="False" ShowFooter="True" OnRowDataBound="gvResult_RowDataBound" >
        <Columns>
            <asp:BoundField DataField="FamilyName" HeaderText="Family Name" HeaderStyle-Width="270px" />
            <asp:BoundField DataField="event_name" HeaderText="Event"  HeaderStyle-Width="80px" ItemStyle-HorizontalAlign="center" FooterStyle-HorizontalAlign="Center" />
            <asp:BoundField DataField="year" HeaderText="Year"  HeaderStyle-Width="50px"  ItemStyle-HorizontalAlign="center" FooterStyle-HorizontalAlign="Right" />
            <asp:BoundField DataField="vkids" HeaderText="Vegetarian Kids"  HeaderStyle-Width="70px" ItemStyle-HorizontalAlign="Right" FooterStyle-HorizontalAlign="Right"  />
            <asp:BoundField DataField="vAdults" HeaderText="Vegetarian Adults"  HeaderStyle-Width="70px"  ItemStyle-HorizontalAlign="Right"  FooterStyle-HorizontalAlign="Right"/>
            <asp:BoundField DataField="nvkids" HeaderText="Non-Vegetarian Kids"  HeaderStyle-Width="70px" ItemStyle-HorizontalAlign="Right"  FooterStyle-HorizontalAlign="Right" />
            <asp:BoundField DataField="nvAdults" HeaderText="Non-Vegetarian Adults"  HeaderStyle-Width="70px"  ItemStyle-HorizontalAlign="Right"  FooterStyle-HorizontalAlign="Right"/>
            <asp:BoundField DataField="Total" HeaderText="Total"  HeaderStyle-Width="50px"  ItemStyle-HorizontalAlign="Right" FooterStyle-HorizontalAlign="Right" />
            <asp:BoundField DataField="tx_date" HeaderText="Transaction Date"  HeaderStyle-Width="100px"  ItemStyle-HorizontalAlign="center" />
            <asp:BoundField DataField="user_comments" HeaderText="Comments"  HeaderStyle-Width="200px"  ItemStyle-HorizontalAlign="left" />
            <asp:BoundField DataField="user_comments" HeaderText="Performance"  HeaderStyle-Width="200px"  ItemStyle-HorizontalAlign="left" />
            <%--<asp:BoundField DataField="email" HeaderText="Email"  HeaderStyle-Width="70px"  ItemStyle-HorizontalAlign="left" />--%>
        </Columns>
                </asp:GridView>
        </div>
    <a name="Bot"></a>
        <center>
<a href="#Top">Top</a>

</center>
</asp:Content>
