NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<link href="css/bootstrap.min.css" rel="stylesheet" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"
type="text/javascript"></script>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css"
rel="Stylesheet" type="text/css" />
<script type="text/javascript">
$(function () {
$("[id$=txtdob]").datepicker({
});
});
</script>
</head>
<body>
<div class="container">
<form id="form1" runat="server">
<br />
<div class="row">
<asp:Label ID="Label1" runat="server" Text="Emp Id"></asp:Label>
<asp:TextBox ID="txtEmpId" ReadOnly="true" runat="server"></asp:TextBox>
</div>
<br />
<div class="row">
<asp:Label ID="Label2" runat="server" Text="Emp Name"></asp:Label>
<asp:TextBox ID="txtEName" runat="server"></asp:TextBox>
</div>
<br />
<div class="row">
<asp:Label ID="Label3" runat="server" Text="Email"></asp:Label>
<asp:TextBox ID="txtemail" runat="server"></asp:TextBox>
</div>
<br />
<div class="row">
<asp:Label ID="Label4" runat="server" Text="Mobil"></asp:Label>
<asp:TextBox ID="txtMobile" onkeypress="return isNumber(event)" runat="server"></asp:TextBox>
</div>
<br />
<div class="row">
<asp:Label ID="Label5" runat="server" Text="Salary"></asp:Label>
<asp:TextBox ID="txtsalary" MaxLength="10" onkeypress="return isNumber(event)" runat="server"></asp:TextBox>
</div>
<br />
<div class="row">
<asp:Label ID="Label6" runat="server" Text="Gender"></asp:Label>
<asp:RadioButton ID="RadioButton1" Text="Male" GroupName="gender" runat="server" />
<asp:RadioButton ID="RadioButton2" Text="Female" GroupName="gender" runat="server" />
</div>
<br />
<div class="row">
<asp:Label ID="Label7" runat="server" Text="Emptype"></asp:Label>
<asp:DropDownList ID="Ddltype" runat="server">
<asp:ListItem Value="0">Perment</asp:ListItem>
<asp:ListItem Value="1">Temp</asp:ListItem>
<asp:ListItem Value="2">Contract</asp:ListItem>
</asp:DropDownList>
</div>
<br />
<div class="row">
<asp:Label ID="Label8" runat="server" Text="Checkbox"></asp:Label>
<asp:CheckBox ID="CheckBox1" Text="Yes" runat="server" />
<asp:CheckBox ID="CheckBox2" Text="No" runat="server" />
</div>
<br />
<div>
<asp:Label ID="Label10" runat="server" Text="DOB">
</asp:Label><asp:TextBox ID="txtdob" runat="server" ReadOnly="true"></asp:TextBox>
</div>
<br />
<br />
<asp:Button ID="Button1" runat="server" Text="Save" OnClick="Button1_Click" OnClientClick="return velide()" />
<br />
<asp:Label ID="Label9" runat="server"></asp:Label>
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<div class="container">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" OnRowCommand="GridView1_RowCommand"
OnRowDeleting="GridView1_RowDeleting" OnRowEditing="GridView1_RowEditing" BackColor="White"
BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px" CellPadding="4">
<Columns>
<asp:ButtonField Text="Delete" CommandName="Delete" />
<asp:ButtonField Text="Edit" CommandName="edit" />
<asp:TemplateField ItemStyle-Width="30px" HeaderText="CustomerID">
<ItemTemplate>
<asp:Label ID="lblCustomerID" runat="server" Text='<%# Eval("EmpId")%>'></asp:Label>
</ItemTemplate>
<ItemStyle Width="30px"></ItemStyle>
</asp:TemplateField>
<asp:BoundField DataField="EmpName" HeaderText="Name" />
<asp:BoundField DataField="Mail" HeaderText="Email" />
<asp:BoundField DataField="mobile" HeaderText="Mobile" />
<asp:BoundField DataField="dob" HeaderText="DOB" />



</Columns>
<FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
<HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" />
<PagerStyle BackColor="#FFFFCC" ForeColor="#330099" HorizontalAlign="Center" />
<RowStyle BackColor="White" ForeColor="#330099" />
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
<SortedAscendingCellStyle BackColor="#FEFCEB" />
<SortedAscendingHeaderStyle BackColor="#AF0101" />
<SortedDescendingCellStyle BackColor="#F6F0C0" />
<SortedDescendingHeaderStyle BackColor="#7E0000" />
</asp:GridView>
</div>
<asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False"
onrowcommand="GridView2_RowCommand" onrowediting="GridView2_RowEditing">
<Columns>
<asp:TemplateField HeaderText="Sno">
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Bind("sno") %>'></asp:Label>
</ItemTemplate>
<%-- <EditItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("sno") %>'></asp:TextBox>
</EditItemTemplate>--%>
</asp:TemplateField>
<asp:BoundField DataField="sname" HeaderText="Sname" />
<asp:BoundField DataField="semail" HeaderText="Semail" />
<asp:ButtonField Text="Edit" CommandName="Edit" />
</Columns>
</asp:GridView>
</form>
</div>
<script type="text/javascript" language="javascript">

function velide() {
debugger;
var Name = document.getElementById("txtEName").value;
if (Name == "") {
alert("plese enter name");
document.getElementById("txtEName").focus();

return false;

}
}
</script>
<script type="text/javascript">
function isNumber(evt) {
debugger;
evt = (evt) ? evt : window.event;
var charCode = (evt.which) ? evt.which : evt.keyCode;
if (charCode > 31 && (charCode < 48 || charCode > 57)) {
return false;
}
return true;


}

</script>
</body>
</html>
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.