Friday, July 9, 2010

fnl

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Emp_form.aspx.cs" Inherits="Empform" %>





Employee Database Entry Form





Please enter your details:





* Only Emp_no needs to provided in case of deleting a record.

* In case of inserting a new record use New Entry button. Don't Enter any value
in Employee number column.

* In case of changing an already exixsting record, use the Update button.

















Employee number                   
:

ErrorMessage= "*The Entry cannot be left blank"
ControlToValidate= "Txt_Emp_no" SetFocusOnError="True" />


ErrorMessage= "*Entry should be a six digit number only"
ControlToValidate="Txt_Emp_no"
ValidationExpression = "\d\d\d\d\d\d" CssClass="Err" />


Employee name                   
    :

ErrorMessage= "*The Entry cannot be left blank"
ControlToValidate= "Txt_emp_name" SetFocusOnError="True" CssClass="Err" />



Date of Birth                   
         :
  (MM/dd/yyyy) 
ErrorMessage = "*You must be atleast 18years old to be employed! "

Operator = "LessThan"
Type= "Date" ControlToValidate="txt_dob" SetFocusOnError="True" CssClass="Err" />

Font-Names="Verdana" Font-Size="9pt" ForeColor="Black" Height="250px" NextPrevFormat="ShortMonth"
OnSelectionChanged="cal_dob_SelectionChanged" Width="330px" BorderStyle="Solid" CellSpacing="1">





Font-Size="12pt" ForeColor="White" BorderStyle="Solid" Height="12pt" />


 




Gender                 
                      
:   RepeatLayout="Flow" Width="150px" CausesValidation="True">
Male
Female

ErrorMessage= "*The Entry cannot be left blank"
ControlToValidate= "radio_gender" SetFocusOnError="True" CssClass="Err" />



Department                 
                :

RCB
IT
CES
FCC
RTF




Email address                    
          :

ErrorMessage= "*The Entry cannot be left blank"
ControlToValidate= "Txt_email_id" SetFocusOnError="True" CssClass="Err" />

ErrorMessage="*Email address is not valid."
ControlToValidate= "txt_email_id"
ValidationExpression= "[\w.]+@[\w.]+\.[\w.]+" CssClass="Err" />

 

Date of joining                   
         :
(MM/dd/yyyy) 
ErrorMessage = "*Date of joining cannot be before the Date of birth !"
ControlToCompare = "txt_dob"
Operator = "GreaterThan"
Type= "Date" ControlToValidate="txt_date_of_joining" SetFocusOnError="True" CssClass="Err" />


NextPrevFormat="ShortMonth"
Width="330px" OnSelectionChanged="cal_date_of_joining_SelectionChanged" BorderStyle="Solid" CellSpacing="1" >





Font-Size="12pt" ForeColor="White" BorderStyle="Solid" Height="12pt" />


 


Contact number            +91  :



ErrorMessage="*Entry should only be a 10 digit number"
ControlToValidate= "txt_contact_no"
ValidationExpression= "\d\d\d\d\d\d\d\d\d\d" CssClass="Err" />

 

Address                      
          :








Text="Delete" />





No comments:

Post a Comment