<%@ page title="Vaccine Master" language="C#" masterpagefile="~/MasterPage.master" autoeventwireup="true" inherits="VaccineMaster, App_Web_fzfkhksa" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="main-content container-fluid">
        <div class="page-title">
            <h3>Vaccine Master</h3>
        </div>
        <section class="section">
            <div class="row bspace">
                <div class="col-md-8">
                    <div class="divider">
                        <div class="divider-text">Vaccine Details</div>
                    </div>
                    <div class="row bspace">
                        <div class="col-md-4">
                            <label class="label">Species Type</label>
                        </div>
                        <div class="col-md-8">
                            <asp:DropDownList ID="ddlSpeciesType" runat="server" CssClass="form-control" AppendDataBoundItems="true">
                                <asp:ListItem Selected="True" Value="0" Text="Select"></asp:ListItem>
                            </asp:DropDownList>
                        </div>
                    </div>
                    <div class="row bspace">
                        <div class="col-md-4">
                            <label class="label">Vaccine Name</label>
                        </div>
                        <div class="col-md-8">
                            <asp:TextBox ID="txtVaccineName" runat="server" CssClass="form-control" placeholder="Vaccine Name" required></asp:TextBox>
                        </div>
                    </div>

                    <div class="row form-group">
                        <asp:Label ID="lblError" runat="server" ForeColor="Red"></asp:Label>
                        <asp:Label ID="lblID" runat="server" Visible="false"></asp:Label>
                        <asp:Label ID="lblSrNo" runat="server" Visible="false"></asp:Label>
                        <asp:Label ID="lblUserID" runat="server" Visible="false"></asp:Label>
                        <asp:Label ID="lblMsg" runat="server" ForeColor="Green"></asp:Label>
                    </div>
                    <div class="row bspace">
                        <div class="col-md-6 float-md-right">
                            <asp:Button ID="btnSave" runat="server" Text="Save" CssClass="btn btn-primary" OnClick="btnSave_Click" />
                            <asp:Button ID="btnReset" runat="server" Text="Reset" CssClass="btn btn-primary" OnClick="btnReset_Click" />
                        </div>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="divider">
                        <div class="divider-text">Vaccine List</div>
                    </div>
                    <div class="row">
                        <asp:GridView ID="GridVaccineMaster" runat="server" AutoGenerateColumns="false" CssClass="table table-responsive table-bordered" OnSelectedIndexChanged="GridVaccineMaster_SelectedIndexChanged">
                            <Columns>
                                <asp:CommandField SelectText="<<" ShowSelectButton="true" />
                                <asp:BoundField DataField="VaccineID" HeaderText="VaccineID" SortExpression="VaccineID" HeaderStyle-CssClass="hideGridColumn" ItemStyle-CssClass="hideGridColumn" />
                                <asp:BoundField DataField="VaccineName" HeaderText="VaccineName" SortExpression="VaccineName" />
                                <asp:BoundField DataField="SpeciesID" HeaderText="SpeciesID" SortExpression="SpeciesID" HeaderStyle-CssClass="hideGridColumn" ItemStyle-CssClass="hideGridColumn" />
                            </Columns>
                        </asp:GridView>
                    </div>
                </div>
            </div>
        </section>
    </div>
</asp:Content>

