Empowering The World Through Technology

Employee Registration form Creation in Asp.net C#

0 803

Worker Registration kind Creation in Asp.internet C#. The way to create an Worker Regkind after Recruitment or job announcement web page in asp.internet | Full entrance finish designing and backend coding.

Complied designing and backend coding of file for any worker regkind in asp.internet undertaking web page creation utilizing visible studio and C# language.

<%@ Web page Title=”” Language=”C#” MasterPageFile=”~/app_theme/MasterPageAdmin.grasp” AutoEventWireup=”true” CodeFile=”EmployeeeRegistration.aspx.cs” Inherits=”admin_EmployeeeRegistration” %>

<div class="row-fluid sortable">
            <div class="field span12">
                <div class="box-header properly" data-original-title>
                    <h2><i class="icon-th"></i> Worker Registration</h2>
                    <div class="box-icon">
                        <a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
                        <a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
                        <a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
                    </div>
                </div>
                <div class="box-content">
                  <div class="row-fluid">

                    <br />
                    <%--Begin Content material--%>

                    <desk>
            <tr>
                <td  colspan="3"><font><sturdy>                      <asp:Label 
                        ID="Label2" runat="server" class="btn btn-primary" ></asp:Label>
                    </sturdy></font></td>
                <td >                 
                    <asp:hyperlink id="HyperLink1" runat="server" Navigateurl="AdminOptions.aspx" 
                        ToolTip="Admin Choices Web page" >Again</asp:hyperlink></td>
            </tr>
            <tr>
                <td  ><sturdy>Worker Id</sturdy></td>
                <td ><asp:textbox id="txtEmployeeId" runat="server" Peak="25px" Width="208px" data-rel="popover" data-content="Enter Worker ID By way of Which He will probably be login "  title="Enter ID"></asp:textbox>  
                    <asp:requiredfieldvalidator id="Requiredfieldvalidator4" runat="server" ErrorMessage="*" ControlToValidate="txtEmployeeId"></asp:requiredfieldvalidator></td>
                <td  ><sturdy>Mortgage</sturdy></td>
                <td >
                    <asp:radiobutton id="rb_Loan_Yes" runat="server" 
                        GroupName="okay" Textual content="Sure" oncheckedchanged="rb_Loan_Yes_CheckedChanged" 
                        Width="70px" CausesValidation="True" Checked="True" 
                        ></asp:radiobutton> 
                    <asp:radiobutton id="rb_Loan_No" runat="server" GroupName="okay" Textual content="No" 
                        oncheckedchanged="rb_Loan_No_CheckedChanged" Width="70px" ></asp:radiobutton></td>
            </tr>
            <tr>
                <td  ><sturdy>Worker Identify</sturdy></td>
                <td ><asp:textbox id="txtEmployeeName" runat="server" Peak="25px" Width="208px" onkeyup="onlyText(this);" data-rel="popover" data-content="Enter Identify Of Worker."  title="Emp Identify"></asp:textbox>  
                    <asp:requiredfieldvalidator id="Requiredfieldvalidator5" runat="server" ErrorMessage="*" ControlToValidate="txtEmployeeName"></asp:requiredfieldvalidator></td>
                <td  ><sturdy><sturdy>Description</sturdy></sturdy></td>
                <td ><asp:textbox id="txtLoanDescription" runat="server" Peak="25px" Width="208px" TextMode="MultiLine" data-rel="popover" data-content="Enter Mortgage Description If Any.... "  title="Mortgage"></asp:textbox></td>
            </tr>
            <tr>
                <td  ><sturdy>Gender</sturdy></td>
                <td >
                    <br />
                   <%-- <enter kind="radio" id="rb_Gender_Male" runat="server" identify="f" 
                        oncheckedchanged="rb_Gender_Male_CheckedChanged" onclick="return rb_Gender_Male_onclick()" /> Male  

                        <enter id="rb_Gender_Female" kind="radio" runat="server"
                    identify="f" />Feminine   --%>

                       <asp:radiobutton id="rb_Gender_Male" 
                        runat="server" Textual content="Male" Checked="True" GroupName="f" 
                        oncheckedchanged="rb_Gender_Male_CheckedChanged" Width="70px" 
                        CausesValidation="True" ></asp:radiobutton> 
                    <asp:radiobutton id="rb_Gender_Female" runat="server" Textual content="Feminine" 
                        GroupName="f" Width="70px" ></asp:radiobutton>       
                     </td>
                <td  ><sturdy><sturdy><sturdy><sturdy>Paperwork</sturdy></sturdy></sturdy></sturdy></td>
                <td >
                    <asp:radiobutton id="rb_Document_Yes" runat="server" 
                        GroupName="D" Textual content="Sure" oncheckedchanged="rb_Document_Yes_CheckedChanged" 
                        Width="70px" Checked="True" 
                        ></asp:radiobutton> 
                    <asp:radiobutton id="rb_Document_No" runat="server" GroupName="D" Textual content="No" 
                        oncheckedchanged="rb_Document_No_CheckedChanged" Width="70px" ></asp:radiobutton></td>
            </tr>
            <tr>
                <td  ><sturdy>Designation</sturdy></td>
                <td model="WIDTH: 248px; HEIGHT: 29px"><asp:dropdownlist id="drDesignation" class="controls" data-rel="chosen" runat="server" Width="168px">
                        <asp:ListItem Worth="Choose">Choose</asp:ListItem>
                        <asp:ListItem Worth="Buisness Improvement Supervisor">Buisness Improvement Supervisor</asp:ListItem>
                        <asp:ListItem Worth="HR Supervisor">HR Supervisor</asp:ListItem>
                        <asp:ListItem Worth="Venture Supervisor">Venture Supervisor</asp:ListItem>
                        <asp:ListItem Worth="Design Engineer">Design Engineer</asp:ListItem>
                        <asp:ListItem Worth="Sr.Programmer">Sr.Programmer</asp:ListItem>
                        <asp:ListItem Worth="Developer">Developer</asp:ListItem>
                        <asp:ListItem Worth="Programmer">Programmer</asp:ListItem>
                        <asp:ListItem Worth="Marketting Manger">Marketting Manger</asp:ListItem>
                        <asp:ListItem Worth="Counsellor">Counsellor</asp:ListItem>
                        <asp:ListItem Worth="OfficeBoy">OfficeBoy</asp:ListItem>
                    </asp:dropdownlist></td>
                <td  ><sturdy><sturdy><sturdy><sturdy>Description</sturdy></sturdy></sturdy></sturdy></td>
                <td model="HEIGHT: 29px"><asp:textbox id="txtDoumentDescription" runat="server" Peak="25px" Width="208px" TextMode="MultiLine" data-rel="popover" data-content="Enter Description If Any.... "  title="Paperwork"></asp:textbox></td>
            </tr>
            <tr>
                <td  ><sturdy>Qualification</sturdy></td>
                <td model="WIDTH: 248px; HEIGHT: 24px"><asp:dropdownlist id="drQualification" class="controls" data-rel="chosen" runat="server" Width="96px" onselectedindexchanged="drQualification_SelectedIndexChanged">
                        <asp:ListItem Worth="Choose">Choose</asp:ListItem>
                        <asp:ListItem Worth="ME">ME</asp:ListItem>
                        <asp:ListItem Worth="BE">BE</asp:ListItem>
                        <asp:ListItem Worth="Bsc-Maths">Bsc-Maths</asp:ListItem>
                        <asp:ListItem Worth="Msc">Msc</asp:ListItem>
                        <asp:ListItem Worth="MCA">MCA</asp:ListItem>
                        <asp:ListItem Worth="MBA">MBA</asp:ListItem>
                    </asp:dropdownlist></td>
                <td  ><sturdy><sturdy><sturdy><sturdy><sturdy><sturdy><sturdy>ExtraCurriculam </sturdy>
                                        </sturdy></sturdy></sturdy></sturdy></sturdy></sturdy>
                </td>
                <td model="HEIGHT: 24px">
                    <asp:radiobutton id="rb_extra_yes" runat="server" 
                        GroupName="E" Textual content="Sure" oncheckedchanged="rb_extra_yes_CheckedChanged" 
                        Width="70px" Checked="True" 
                        ></asp:radiobutton> 
                    <asp:radiobutton id="rb_extra_No" runat="server" GroupName="E" Textual content="No" 
                        oncheckedchanged="rb_extra_No_CheckedChanged" Width="70px" ></asp:radiobutton></td>
            </tr>
            <tr>
                <td  ><sturdy>Expertise</sturdy></td>
                <td model="WIDTH: 248px; HEIGHT: 1px"><asp:dropdownlist id="drExperience" class="controls" data-rel="chosen" runat="server" Width="168px">
                        <asp:ListItem Worth="Choose">Choose</asp:ListItem>
                        <asp:ListItem Worth="zero to 1Year">zero to 1Year</asp:ListItem>
                        <asp:ListItem Worth="1 to 2Years">1 to 2Years</asp:ListItem>
                        <asp:ListItem Worth="2 to 3Years">2 to 3Years</asp:ListItem>
                        <asp:ListItem Worth="Three to 4Years">Three to 4Years</asp:ListItem>
                        <asp:ListItem Worth="four to 5Years">four to 5Years</asp:ListItem>
                        <asp:ListItem Worth="5 to 6Years">5 to 6Years</asp:ListItem>
                        <asp:ListItem Worth="6 to 7Years">6 to 7Years</asp:ListItem>
                        <asp:ListItem Worth="7 to 8Years">7 to 8Years</asp:ListItem>
                        <asp:ListItem Worth="eight to 9years">eight to 9years</asp:ListItem>
                        <asp:ListItem Worth="9 t0 10years">9 t0 10years</asp:ListItem>
                        <asp:ListItem Worth="Above 10Years">Above 10Years</asp:ListItem>
                    </asp:dropdownlist></td>
                <td  ><sturdy><sturdy><sturdy><sturdy>Description</sturdy></sturdy></sturdy></sturdy></td>
                <td model="HEIGHT: 15px"><asp:textbox id="txtExtraDescription" runat="server" Peak="25px" Width="208px" TextMode="MultiLine" data-rel="popover" data-content="Enter Description If Any.... "  title="Further Curriculam"></asp:textbox></td>
            </tr>
            <tr>
                <td  ><sturdy>Date Of Delivery [m/d/y]</sturdy></td>
                <td model="WIDTH: 248px; HEIGHT: 30px">
                    <asp:dropdownlist id="drDobMonth" class="controls" data-rel="chosen" model="font-SIZE: 10pt; COLOR: #000000; font-FAMILY: Arial, Tahoma, Verdana, Helvetica"
                        runat="server" Width="60px" DataTextField="age_desc" DataValueField="age_id">
                        <asp:ListItem Worth="01">01</asp:ListItem>
                        <asp:ListItem Worth="02">02</asp:ListItem>
                        <asp:ListItem Worth="03">03</asp:ListItem>
                        <asp:ListItem Worth="04">04</asp:ListItem>
                        <asp:ListItem Worth="05">05</asp:ListItem>
                        <asp:ListItem Worth="06">06</asp:ListItem>
                        <asp:ListItem Worth="07">07</asp:ListItem>
                        <asp:ListItem Worth="08">08</asp:ListItem>
                        <asp:ListItem Worth="09">09</asp:ListItem>
                        <asp:ListItem Worth="10">10</asp:ListItem>
                        <asp:ListItem Worth="11">11</asp:ListItem>
                        <asp:ListItem Worth="12">12</asp:ListItem>
                    </asp:dropdownlist> 
                    <asp:dropdownlist id="drDobDate" class="controls" data-rel="chosen" model="font-SIZE: 10pt; COLOR: #000000; font-FAMILY: Arial, Tahoma, Verdana, Helvetica"
                        runat="server" Width="60px" DataTextField="age_desc" DataValueField="age_id">
                        <asp:ListItem Worth="01">01</asp:ListItem>
                        <asp:ListItem Worth="02">02</asp:ListItem>
                        <asp:ListItem Worth="03">03</asp:ListItem>
                        <asp:ListItem Worth="04">04</asp:ListItem>
                        <asp:ListItem Worth="05">05</asp:ListItem>
                        <asp:ListItem Worth="06">06</asp:ListItem>
                        <asp:ListItem Worth="07">07</asp:ListItem>
                        <asp:ListItem Worth="08">08</asp:ListItem>
                        <asp:ListItem Worth="09">09</asp:ListItem>
                        <asp:ListItem Worth="10">10</asp:ListItem>
                        <asp:ListItem Worth="11">11</asp:ListItem>
                        <asp:ListItem Worth="12">12</asp:ListItem>
                        <asp:ListItem Worth="13">13</asp:ListItem>
                        <asp:ListItem Worth="14">14</asp:ListItem>
                        <asp:ListItem Worth="15">15</asp:ListItem>
                        <asp:ListItem Worth="16">16</asp:ListItem>
                        <asp:ListItem Worth="17">17</asp:ListItem>
                        <asp:ListItem Worth="18">18</asp:ListItem>
                        <asp:ListItem Worth="19">19</asp:ListItem>
                        <asp:ListItem Worth="20">20</asp:ListItem>
                        <asp:ListItem Worth="21">21</asp:ListItem>
                        <asp:ListItem Worth="22">22</asp:ListItem>
                        <asp:ListItem Worth="23">23</asp:ListItem>
                        <asp:ListItem Worth="24">24</asp:ListItem>
                        <asp:ListItem Worth="25">25</asp:ListItem>
                        <asp:ListItem Worth="26">26</asp:ListItem>
                        <asp:ListItem Worth="27">27</asp:ListItem>
                        <asp:ListItem Worth="28">28</asp:ListItem>
                        <asp:ListItem Worth="29">29</asp:ListItem>
                        <asp:ListItem Worth="30">30</asp:ListItem>
                        <asp:ListItem Worth="31">31</asp:ListItem>
                    </asp:dropdownlist><sturdy> </sturdy>
                    <asp:dropdownlist id="drDobYear" class="controls" data-rel="chosen" model="font-SIZE: 10pt; COLOR: #000000; font-FAMILY: Arial, Tahoma, Verdana, Helvetica"
                        runat="server" Width="70px" DataTextField="age_desc" DataValueField="age_id" Peak="28px">

                        <asp:ListItem Worth="2013">2013</asp:ListItem>
                        <asp:ListItem Worth="2012">2012</asp:ListItem>
                        <asp:ListItem Worth="2011">2011</asp:ListItem>
                        <asp:ListItem Worth="2010">2010</asp:ListItem>
                        <asp:ListItem Worth="2009">2009</asp:ListItem>
                        <asp:ListItem Worth="2008">2008</asp:ListItem>
                        <asp:ListItem Worth="2007">2007</asp:ListItem>
                        <asp:ListItem Worth="2006">2006</asp:ListItem>
                        <asp:ListItem Worth="2005">2005</asp:ListItem>
                        <asp:ListItem Worth="2004">2004</asp:ListItem>
                        <asp:ListItem Worth="2003">2003</asp:ListItem>
                        <asp:ListItem Worth="2002">2002</asp:ListItem>
                        <asp:ListItem Worth="2001">2001</asp:ListItem>
                        <asp:ListItem Worth="2000">2000</asp:ListItem>
                        <asp:ListItem Worth="1999">1999</asp:ListItem>
                        <asp:ListItem Worth="1998">1998</asp:ListItem>
                        <asp:ListItem Worth="1997">1997</asp:ListItem>
                        <asp:ListItem Worth="1996">1996</asp:ListItem>
                        <asp:ListItem Worth="1995">1995</asp:ListItem>
                        <asp:ListItem Worth="1994">1994</asp:ListItem>
                        <asp:ListItem Worth="1993">1993</asp:ListItem>
                        <asp:ListItem Worth="1992">1992</asp:ListItem>
                        <asp:ListItem Worth="1991">1991</asp:ListItem>
                        <asp:ListItem Worth="1990">1990</asp:ListItem>
                        <asp:ListItem Worth="1989">1989</asp:ListItem>
                        <asp:ListItem Worth="1988">1988</asp:ListItem>
                        <asp:ListItem Worth="1987">1987</asp:ListItem>
                        <asp:ListItem Worth="1986">1986</asp:ListItem>
                        <asp:ListItem Worth="1985">1985</asp:ListItem>
                        <asp:ListItem Worth="1984">1984</asp:ListItem>
                        <asp:ListItem Worth="1983">1983</asp:ListItem>
                        <asp:ListItem Worth="1982">1982</asp:ListItem>
                        <asp:ListItem Worth="1981">1981</asp:ListItem>
                        <asp:ListItem Worth="1980">1980</asp:ListItem>

                    </asp:dropdownlist></td>
                <td  ><sturdy>ClubMembership
                                    </sturdy></td>
                <td model="HEIGHT: 30px">
                    <asp:radiobutton id="rb_club_yes" runat="server" 
                        GroupName="C" Textual content="Sure" oncheckedchanged="rb_club_yes_CheckedChanged" 
                        Width="70px" Checked="True" 
                        ></asp:radiobutton> 
                    <asp:radiobutton id="rb_club_No" runat="server" GroupName="C" Textual content="No" 
                        oncheckedchanged="rb_club_No_CheckedChanged" Width="70px" ></asp:radiobutton></td>
            </tr>
            <tr>
                <td  ><sturdy>Date Of Be a part of [m/d/y]</sturdy></td>
                <td model="WIDTH: 248px; HEIGHT: 31px">
                    <asp:dropdownlist id="drDojMonth" class="controls" data-rel="chosen" model="font-SIZE: 10pt; COLOR: #000000; font-FAMILY: Arial, Tahoma, Verdana, Helvetica"
                        runat="server" Width="60px" DataTextField="age_desc" DataValueField="age_id">
                        <asp:ListItem Worth="01">01</asp:ListItem>
                        <asp:ListItem Worth="02">02</asp:ListItem>
                        <asp:ListItem Worth="03">03</asp:ListItem>
                        <asp:ListItem Worth="04">04</asp:ListItem>
                        <asp:ListItem Worth="05">05</asp:ListItem>
                        <asp:ListItem Worth="06">06</asp:ListItem>
                        <asp:ListItem Worth="07">07</asp:ListItem>
                        <asp:ListItem Worth="08">08</asp:ListItem>
                        <asp:ListItem Worth="09">09</asp:ListItem>
                        <asp:ListItem Worth="10">10</asp:ListItem>
                        <asp:ListItem Worth="11">11</asp:ListItem>
                        <asp:ListItem Worth="12">12</asp:ListItem>
                    </asp:dropdownlist> 
                    <asp:dropdownlist id="drDojDate" class="controls" data-rel="chosen" model="font-SIZE: 10pt; COLOR: #000000; font-FAMILY: Arial, Tahoma, Verdana, Helvetica"
                        runat="server" Width="60px" DataTextField="age_desc" DataValueField="age_id" 
                        onselectedindexchanged="drDojDate_SelectedIndexChanged">
                        <asp:ListItem Worth="01">01</asp:ListItem>
                        <asp:ListItem Worth="02">02</asp:ListItem>
                        <asp:ListItem Worth="03">03</asp:ListItem>
                        <asp:ListItem Worth="04">04</asp:ListItem>
                        <asp:ListItem Worth="05">05</asp:ListItem>
                        <asp:ListItem Worth="06">06</asp:ListItem>
                        <asp:ListItem Worth="07">07</asp:ListItem>
                        <asp:ListItem Worth="08">08</asp:ListItem>
                        <asp:ListItem Worth="09">09</asp:ListItem>
                        <asp:ListItem Worth="10">10</asp:ListItem>
                        <asp:ListItem Worth="11">11</asp:ListItem>
                        <asp:ListItem Worth="12">12</asp:ListItem>
                        <asp:ListItem Worth="13">13</asp:ListItem>
                        <asp:ListItem Worth="14">14</asp:ListItem>
                        <asp:ListItem Worth="15">15</asp:ListItem>
                        <asp:ListItem Worth="16">16</asp:ListItem>
                        <asp:ListItem Worth="17">17</asp:ListItem>
                        <asp:ListItem Worth="18">18</asp:ListItem>
                        <asp:ListItem Worth="19">19</asp:ListItem>
                        <asp:ListItem Worth="20">20</asp:ListItem>
                        <asp:ListItem Worth="21">21</asp:ListItem>
                        <asp:ListItem Worth="22">22</asp:ListItem>
                        <asp:ListItem Worth="23">23</asp:ListItem>
                        <asp:ListItem Worth="24">24</asp:ListItem>
                        <asp:ListItem Worth="25">25</asp:ListItem>
                        <asp:ListItem Worth="26">26</asp:ListItem>
                        <asp:ListItem Worth="27">27</asp:ListItem>
                        <asp:ListItem Worth="28">28</asp:ListItem>
                        <asp:ListItem Worth="29">29</asp:ListItem>
                        <asp:ListItem Worth="30">30</asp:ListItem>
                        <asp:ListItem Worth="31">31</asp:ListItem>
                    </asp:dropdownlist> 
                    <asp:dropdownlist id="drDojYear" class="controls" data-rel="chosen" model="font-SIZE: 10pt; COLOR: #000000; font-FAMILY: Arial, Tahoma, Verdana, Helvetica"
                        runat="server" Width="70px" DataTextField="age_desc" DataValueField="age_id" 
                        onselectedindexchanged="drDojYear_SelectedIndexChanged" Peak="28px">
                        <asp:ListItem Worth="2013">2013</asp:ListItem>
                        <asp:ListItem Worth="2012">2012</asp:ListItem>
                        <asp:ListItem Worth="2011">2011</asp:ListItem>
                        <asp:ListItem Worth="2010">2010</asp:ListItem>
                        <asp:ListItem Worth="2009">2009</asp:ListItem>
                        <asp:ListItem Worth="2008">2008</asp:ListItem>
                        <asp:ListItem Worth="2007">2007</asp:ListItem>
                        <asp:ListItem Worth="2006">2006</asp:ListItem>
                        <asp:ListItem Worth="2005">2005</asp:ListItem>
                        <asp:ListItem Worth="2004">2004</asp:ListItem>
                        <asp:ListItem Worth="2003">2003</asp:ListItem>
                        <asp:ListItem Worth="2002">2002</asp:ListItem>
                        <asp:ListItem Worth="2001">2001</asp:ListItem>
                        <asp:ListItem Worth="2000">2000</asp:ListItem>
                        <asp:ListItem Worth="1999">1999</asp:ListItem>
                        <asp:ListItem Worth="1998">1998</asp:ListItem>
                        <asp:ListItem Worth="1997">1997</asp:ListItem>
                        <asp:ListItem Worth="1996">1996</asp:ListItem>
                        <asp:ListItem Worth="1995">1995</asp:ListItem>
                        <asp:ListItem Worth="1994">1994</asp:ListItem>
                        <asp:ListItem Worth="1993">1993</asp:ListItem>
                        <asp:ListItem Worth="1992">1992</asp:ListItem>
                        <asp:ListItem Worth="1991">1991</asp:ListItem>
                        <asp:ListItem Worth="1990">1990</asp:ListItem>
                        <asp:ListItem Worth="1989">1989</asp:ListItem>
                        <asp:ListItem Worth="1988">1988</asp:ListItem>
                        <asp:ListItem Worth="1987">1987</asp:ListItem>
                        <asp:ListItem Worth="1986">1986</asp:ListItem>
                        <asp:ListItem Worth="1985">1985</asp:ListItem>
                        <asp:ListItem Worth="1984">1984</asp:ListItem>
                        <asp:ListItem Worth="1983">1983</asp:ListItem>
                        <asp:ListItem Worth="1982">1982</asp:ListItem>
                        <asp:ListItem Worth="1981">1981</asp:ListItem>
                        <asp:ListItem Worth="1980">1980</asp:ListItem>
                        <asp:ListItem Worth="1979">1979</asp:ListItem>
                        <asp:ListItem Worth="1978">1978</asp:ListItem>
                        <asp:ListItem Worth="1977">1977</asp:ListItem>
                        <asp:ListItem Worth="1976">1976</asp:ListItem>
                        <asp:ListItem Worth="1975">1975</asp:ListItem>
                        <asp:ListItem Worth="1974">1974</asp:ListItem>
                        <asp:ListItem Worth="1973">1973</asp:ListItem>
                        <asp:ListItem Worth="1972">1972</asp:ListItem>
                        <asp:ListItem Worth="1971">1971</asp:ListItem>
                        <asp:ListItem Worth="1970">1970</asp:ListItem>
                    </asp:dropdownlist></td>
                <td  >
<b
<br />
                    <sturdy>Description</sturdy></td>
                <td model="HEIGHT: 31px"><asp:textbox id="txtClubDescription" runat="server" Peak="25px" Width="208px" TextMode="MultiLine" data-rel="popover" data-content="Enter Description If Any.... "  title="ClubMembership"></asp:textbox></td>
            </tr>
            <tr>
                <td  ><sturdy>Emergency Contact No</sturdy></td>
                <td model="WIDTH: 248px; HEIGHT: 22px"><asp:textbox id="txtContactPerson" 
                        runat="server" Peak="25px" Width="208px" data-rel="popover" 
                        data-content="Enter Identify of the one that will contact in Emergency. "  
                        title="Emergency Contact" MaxLength="11"></asp:textbox>  
                    <asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="txtContactPerson"></asp:requiredfieldvalidator></td>
                <td  ><sturdy><sturdy><sturdy><sturdy>Awards </sturdy></sturdy>
                        </sturdy></sturdy>
                </td>
                <td model="HEIGHT: 22px">
                    <asp:radiobutton id="rb_awards_yes" runat="server" 
                        GroupName="A" Textual content="Sure" oncheckedchanged="rb_awards_yes_CheckedChanged" 
                        Width="70px" Checked="True" 
                        ></asp:radiobutton> 
                    <asp:radiobutton id="rb_awards_no" runat="server" GroupName="A" Textual content="No" 
                        oncheckedchanged="rb_awards_no_CheckedChanged" Width="70px" ></asp:radiobutton></td>
            </tr>
            <tr>
                <td  ><sturdy>Non permanent Tackle</sturdy></td>
                <td model="WIDTH: 248px; HEIGHT: 26px"><asp:textbox id="txtTemporaryAddress" runat="server" Peak="25px" Width="208px" TextMode="MultiLine" data-rel="popover" data-content="Enter Non permanent Adderss of worker. "  title="Temp Tackle"></asp:textbox>  
                    <asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" ErrorMessage="*" ControlToValidate="txtTemporaryAddress"></asp:requiredfieldvalidator></td>
                <td  ><sturdy><sturdy><sturdy><sturdy><sturdy><sturdy><sturdy><sturdy><sturdy><sturdy><sturdy><sturdy><sturdy><sturdy><sturdy><sturdy>Description</sturdy></sturdy></sturdy></sturdy></sturdy></sturdy></sturdy></sturdy></sturdy></sturdy></sturdy></sturdy></sturdy></sturdy></sturdy></sturdy></td>
                <td model="HEIGHT: 26px"><asp:textbox id="txtAwardDescription" runat="server" Peak="25px" Width="208px" TextMode="MultiLine" data-rel="popover" data-content="Enter Description If Any.... "  title="Awards"></asp:textbox></td>
            </tr>
            <tr>
                <td  ><sturdy>Everlasting Tackle</sturdy></td>
                <td model="WIDTH: 248px; HEIGHT: 30px"><asp:textbox id="txtPermanentAddress" runat="server" Peak="25px" Width="208px" data-rel="popover" data-content="Enter everlasting Adderss of worker. "  title="Tackle"></asp:textbox>  
                    <asp:requiredfieldvalidator id="RequiredFieldValidator3" runat="server" ErrorMessage="*" ControlToValidate="txtPermanentAddress"></asp:requiredfieldvalidator></td>
                <td  ><sturdy><sturdy>Medical Historical past</sturdy> </sturdy>
                </td>
                <td model="HEIGHT: 30px">
                    <asp:radiobutton id="rb_Medical_yes" runat="server" 
                        GroupName="M" Textual content="Sure" oncheckedchanged="rb_Medical_yes_CheckedChanged" 
                        Width="70px" Checked="True" 
                        ></asp:radiobutton> 
                    <asp:radiobutton id="rb_Medical_no" runat="server" GroupName="M" Textual content="No" Width="70px"></asp:radiobutton></td>
            </tr>
            <tr>
                <td><sturdy>Cell No</sturdy></td>
                <td model="WIDTH: 248px; HEIGHT: 43px"><asp:textbox id="txtMobile" runat="server" 
                      onkeyup="onlyNumber(this);"  Peak="25px" Width="208px" MaxLength="11" data-rel="popover" data-content="Enter Cell No Like 03445551761. "  title="Cell"></asp:textbox>
                     </td>
                <td  ><sturdy><sturdy><sturdy><sturdy><sturdy><sturdy><sturdy><sturdy><sturdy>Description</sturdy></sturdy></sturdy></sturdy></sturdy></sturdy></sturdy></sturdy></sturdy></td>
                <td model="HEIGHT: 43px"><asp:textbox id="txtMedicalDescription" runat="server" Peak="25px" Width="208px" TextMode="MultiLine" data-rel="popover" data-content="Enter Description If Any.... "  title="Medical Historical past"></asp:textbox></td>
            </tr>
            <tr>
                <td model="WIDTH: 155px; HEIGHT: 43px"></td>
                <td model="WIDTH: 248px; HEIGHT: 43px">
                     </td>
                <td model="WIDTH: 153px; HEIGHT: 43px">    <asp:button id="Submit1" runat="server" Width="93px" 
                        Textual content="Submit" onclick="Submit_Click" Peak="25px" class="btn btn-primary"></asp:button></td>
                <td model="HEIGHT: 43px">     
                    <asp:button id="Cancel" runat="server" Textual content="Cancel" onclick="Cancel_Click" 
                        Peak="25px" Width="95px" class="btn btn-primary"></asp:button>
                    <asp:label id="Label1" runat="server" Seen="False">Label</asp:label></td>
            </tr>
        </desk>


                    <%--Finish Content material--%>

                </div>                   
              </div>
            </div><!--/span-->
        </div><!--/row-->
Employee Registration form
Worker Registration kind

Full Backend Coding of Worker Registration web page in asp.internet and c#

utilizing System;
utilizing System.Collections;
utilizing System.ComponentModel;
utilizing System.Knowledge;
utilizing System.Knowledge.SqlClient;
utilizing System.Drawing;
utilizing System.Internet;
utilizing System.Internet.SessionState;
utilizing System.Internet.UI;
utilizing System.Internet.UI.WebControls;
utilizing System.Internet.UI.HtmlControls;

public partial class admin_EmployeeeRegistration : System.Internet.UI.Web page
{
SqlConnection con = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings[“con_str”].ConnectionString);

protected void Page_Load(object sender, System.EventArgs e)
{

}
protected void Submit_Click(object sender, System.EventArgs e)
{
string optLoan, optDocument, optAward, optExtra, optMedical, optGender;
DateTime DojDate, DobDate;
//Date of Delivery and Date of Be a part of
DobDate = Convert.ToDateTime(drDobMonth.SelectedItem + “/” + drDobDate.SelectedItem + “/” + drDobYear.SelectedItem);
DojDate = Convert.ToDateTime(drDojMonth.SelectedItem + “/” + drDojDate.SelectedItem + “/” + drDojYear.SelectedItem);

//Gender
if (rb_Gender_Male.Checked == true)
optGender = “M”;
else
optGender = “F”;

//Mortgage
if (rb_Loan_Yes.Checked == true)
optLoan = “Y”;
else
optLoan = “N”;

//Doc
if (rb_Document_Yes.Checked == true)
optDocument = “Y”;
else
optDocument = “N”;

//ExtraCurriculam
if (rb_extra_yes.Checked == true)
optExtra = “Y”;
else
optExtra = “N”;

//ClubMembership
// if (rb_club_yes.Checked==true)
// optClub=”Y”;
// else
// optClub=”N”;

//Awards
if (rb_awards_yes.Checked == true)
optAward = “Y”;
else
optAward = “N”;

//Medical
if (rb_Medical_yes.Checked == true)
optMedical = “Y”;
else
optMedical = “N”;

if (drDesignation.SelectedItem.Textual content == “Choose” || drQualification.SelectedItem.Textual content == “Choose” || drExperience.SelectedItem.Textual content == “Choose”)
{
Label1.Textual content = “Choose The Missed Choices”;
}
else
{

con.Open();
SqlCommand cmd = new SqlCommand();

cmd.CommandText = "insert into Worker values('" + txtEmployeeId.Textual content + "','" + optGender + "','" + drDesignation.SelectedItem.Textual content + "','" + drQualification.SelectedItem.Textual content + "','" + drExperience.SelectedItem.Textual content + "','" + DobDate + "','" + DojDate + "','" + txtContactPerson.Textual content + "','" + txtTemporaryAddress.Textual content + "','" + txtPermanentAddress.Textual content + "'," + txtMobile.Textual content + ",'" + optLoan + "','" + txtLoanDescription.Textual content + "','" + optDocument + "','" + txtDoumentDescription.Textual content + "','" + optExtra + "','" + txtExtraDescription.Textual content + "','" + optAward + "','" + txtAwardDescription.Textual content + "','" + optMedical + "','" + txtMedicalDescription.Textual content + "','" + txtEmployeeName.Textual content + "')";
cmd.Connection = con;
cmd.ExecuteNonQuery();
Label2.Textual content = "<h3>Registered Sucessfully...</h3>";
Label2.Seen = true;

txtEmployeeId.Textual content = "";
txtEmployeeName.Textual content = "";
txtContactPerson.Textual content =" ";
txtTemporaryAddress.Textual content = "";
txtPermanentAddress.Textual content="";
txtMobile.Textual content = "";

con.Shut();

}

}

protected void Cancel_Click(object sender, System.EventArgs e)
{
Response.Redirect(“EmployeeeRegistration.aspx”);
}

protected void drQualification_SelectedIndexChanged(object sender, System.EventArgs e)
{

}

protected void rb_Loan_Yes_CheckedChanged(object sender, System.EventArgs e)
{
//rb_Loan_No.Enabled = true;
//rb_Loan_No.Checked = false;

}

protected void rb_Document_Yes_CheckedChanged(object sender, System.EventArgs e)
{
// rb_Document_No.Enabled = true;
//rb_Document_No.Checked = false;

}

protected void rb_extra_yes_CheckedChanged(object sender, System.EventArgs e)
{
//rb_extra_No.Enabled = true;
//rb_extra_No.Checked = false;

}

protected void rb_club_yes_CheckedChanged(object sender, System.EventArgs e)
{
//rb_club_No.Enabled = true;
//rb_club_No.Checked = false;
}

protected void rb_awards_yes_CheckedChanged(object sender, System.EventArgs e)
{
//rb_awards_no.Enabled = true;
//rb_awards_no.Checked = false;
}

protected void rb_Medical_yes_CheckedChanged(object sender, System.EventArgs e)
{
//rb_Medical_no.Enabled = true;
//rb_Medical_no.Checked = false;
}

protected void rb_Loan_No_CheckedChanged(object sender, System.EventArgs e)
{
//rb_Loan_Yes.Enabled = true;
//rb_Loan_Yes.Checked = false;
}

protected void rb_Document_No_CheckedChanged(object sender, System.EventArgs e)
{
//rb_Document_Yes.Enabled = true;
// rb_Document_Yes.Checked = false;
}

protected void rb_extra_No_CheckedChanged(object sender, System.EventArgs e)
{
//rb_extra_yes.Enabled = true;
// rb_extra_yes.Checked = false;
}

protected void rb_club_No_CheckedChanged(object sender, System.EventArgs e)
{

//rb_club_yes.Enabled = true;

// rb_club_yes.Checked = false;
}

protected void rb_awards_no_CheckedChanged(object sender, System.EventArgs e)
{
//rb_awards_yes.Enabled = true;
//rb_awards_yes.Checked = false;
}

non-public void rb_Medical_no_CheckedChanged(object sender, System.EventArgs e)
{
//rb_Medical_yes.Enabled = true;
//rb_Medical_yes.Checked = false;
}

non-public void RadioButton1_CheckedChanged(object sender, System.EventArgs e)
{
//rb_Loan_No.Enabled = true;
//rb_Loan_No.Checked = false;

}

protected void rb_Gender_Male_CheckedChanged(object sender, System.EventArgs e)
{
//rb_Gender_Male.Enabled = true;
//rb_Gender_Female.Checked = false;

}

protected void drDojDate_SelectedIndexChanged(object sender, System.EventArgs e)
{

}

protected void drDojYear_SelectedIndexChanged(object sender, System.EventArgs e)
{

}

}

Leave a Reply