You are on page 1of 6

?<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Student_Master.aspx.

cs"
Inherits="Try1.WebForm1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style type="text/css">
#form1 {
height: 553px;
}
</style>
</head>
<body style="height: 596px">
<form id="form1" runat="server">

<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$


ConnectionStrings:ConnectionString %>" SelectCommand="SELECT * FROM
[Student_Master]"></asp:SqlDataSource>

<asp:Panel ID="Panel1" runat="server" BackColor="#FFCC99"


BorderStyle="Outset" style="z-index: 1; left: 45px; top: 69px; position: absolute;
height: 512px; width: 1210px" BorderColor="#669900" BorderWidth="15px">
<asp:Label ID="Label8" runat="server" Font-Names="Bell MT" Font-
Size="Medium" style="z-index: 1; left: 17px; top: 33px; position: absolute"
Text="Student Roll number :" Font-Bold="True" ForeColor="#6600CC"></asp:Label>
<asp:Label ID="Label9" runat="server" Font-Names="Bell MT" Font-
Size="Medium" style="z-index: 1; left: 18px; top: 69px; position: absolute"
Text="First Name :" Font-Bold="True" ForeColor="#6600CC"></asp:Label>
<asp:Label ID="Label10" runat="server" Font-Names="Bell MT" Font-
Size="Medium" style="z-index: 1; left: 293px; top: 70px; position: absolute"
Text="Middle Name :" Font-Bold="True" ForeColor="#6600CC"></asp:Label>
<asp:Label ID="Label11" runat="server" Font-Names="Bell MT" Font-
Size="Medium" style="z-index: 1; left: 604px; top: 71px; position: absolute"
Text="Last Name :" Font-Bold="True" ForeColor="#6600CC"></asp:Label>
<asp:Label ID="Label12" runat="server" Font-Names="Bell MT" Font-
Size="Medium" style="z-index: 1; left: 18px; top: 117px; position: absolute"
Text="D . O . B :" Font-Bold="True" ForeColor="#6600CC"></asp:Label>
<asp:Label ID="Label13" runat="server" Font-Names="Bell MT" Font-
Size="Medium" style="z-index: 1; left: 303px; top: 110px; position: absolute"
Text="Gender :" Font-Bold="True" ForeColor="#6600CC"></asp:Label>
<asp:DropDownList ID="DropDownList1" runat="server" style="z-index: 1;
left: 415px; top: 110px; position: absolute" TabIndex="6">
<asp:ListItem>~Select~</asp:ListItem>
<asp:ListItem>Male</asp:ListItem>
<asp:ListItem>Female</asp:ListItem>
</asp:DropDownList>
<asp:Label ID="Label14" runat="server" style="z-index: 1; left: 602px;
top: 112px; position: absolute; height: 20px;" Text="Blood group :" Font-
Bold="True" Font-Names="Bell MT" Font-Size="Medium"
ForeColor="#6600CC"></asp:Label>
<asp:Label ID="Label15" runat="server" Font-Names="Bell MT" Font-
Size="Medium" style="z-index: 1; left: 15px; top: 157px; position: absolute; right:
1083px; height: 25px;" Text="Marital Status :" Font-Bold="True"
ForeColor="#6600CC"></asp:Label>
<asp:Label ID="Label16" runat="server" Font-Names="Bell MT" Font-
Size="Medium" style="z-index: 1; left: 306px; top: 157px; position: absolute;
right: 813px" Text="Nationality :" Font-Bold="True"
ForeColor="#6600CC"></asp:Label>
<asp:Label ID="Label17" runat="server" style="z-index: 1; left: 604px;
top: 161px; position: absolute; right: 526px; height: 18px;" Text="Category :"
Font-Bold="True" Font-Names="Bell MT" Font-Size="Medium"
ForeColor="#6600CC"></asp:Label>
<asp:Label ID="Label18" runat="server" Font-Names="Bell MT" Font-
Size="Medium" style="z-index: 1; left: 12px; top: 199px; position: absolute; right:
1081px; height: 20px;" Text="Mother tongue :" Font-Bold="True"
ForeColor="#6600CC"></asp:Label>
<asp:Label ID="Label19" runat="server" Font-Names="Bell MT" Font-
Size="Medium" style="z-index: 1; left: 309px; top: 199px; position: absolute;
right: 823px; height: 20px;" Text="Religion :" Font-Bold="True"
ForeColor="#6600CC"></asp:Label>
<asp:Label ID="Label20" runat="server" Font-Names="Bell MT" Font-
Size="Medium" style="z-index: 1; left: 12px; top: 365px; position: absolute; "
Text="Present address :" Font-Bold="True" ForeColor="#6600CC"></asp:Label>
<asp:Label ID="Label21" runat="server" style="z-index: 1; left: 343px;
top: 373px; position: absolute; right: 714px; height: 21px;" Text="Permanent
Address :" Font-Bold="True" Font-Names="Bell MT" Font-Size="Medium"
ForeColor="#6600CC"></asp:Label>
<asp:Label ID="Label22" runat="server" Font-Names="Bell MT" Font-
Size="Medium" style="z-index: 1; left: 4px; top: 307px; position: absolute; right:
1052px" Text="Present Phone No. :" Font-Bold="True"
ForeColor="#6600CC"></asp:Label>
<asp:Label ID="Label23" runat="server" style="z-index: 1; left: 341px;
top: 306px; position: absolute; right: 762px; height: 21px;" Text="Present email :"
Font-Bold="True" Font-Names="Bell MT" Font-Size="Medium"
ForeColor="#6600CC"></asp:Label>
<asp:Label ID="Label24" runat="server" style="z-index: 1; left: 328px;
top: 251px; position: absolute; right: 767px; height: 20px" Text="Mother Name :"
Font-Bold="True" Font-Names="Bell MT" Font-Size="Medium"
ForeColor="#6600CC"></asp:Label>
<asp:Label ID="Label25" runat="server" Font-Names="Bell MT" Font-
Size="Medium" style="z-index: 1; left: 11px; top: 251px; position: absolute; right:
1095px; height: 20px" Text="Father Name :" Font-Bold="True"
ForeColor="#6600CC"></asp:Label>
<asp:Label ID="Label26" runat="server" Font-Names="Bell MT" Font-
Size="Medium" style="z-index: 1; left: 649px; top: 252px; position: absolute;
right: 365px; height: 20px" Text="Father Guardion Relation :" Font-Bold="True"
ForeColor="#6600CC"></asp:Label>
<asp:Label ID="Label27" runat="server" Font-Names="Bell MT" Font-
Size="Medium" style="z-index: 1; left: 346px; top: 425px; position: absolute;
right: 721px; height: 20px" Text="Programme Code :" Font-Bold="True"
ForeColor="#6600CC"></asp:Label>
<asp:Label ID="Label28" runat="server" style="z-index: 1; left: 706px;
top: 419px; position: absolute; right: 396px; height: 20px" Text="Section Code :"
Font-Bold="True" Font-Names="Bell MT" Font-Size="Medium"
ForeColor="#6600CC"></asp:Label>
<asp:Label ID="Label29" runat="server" Font-Names="Bell MT" Font-
Size="Medium" style="z-index: 1; left: 12px; top: 422px; position: absolute; right:
1075px; height: 20px" Text="Semester Code :" Font-Bold="True"
ForeColor="#6600CC"></asp:Label>
<asp:Label ID="Label30" runat="server" Font-Names="Bell MT" Font-
Size="Medium" style="z-index: 1; left: 709px; top: 358px; position: absolute;
right: 386px; height: 20px" Text="Semester Year :" Font-Bold="True"
ForeColor="#6600CC"></asp:Label>
<asp:Label ID="Label31" runat="server" style="z-index: 1; left: 651px;
top: 305px; position: absolute; right: 427px; height: 20px" Text="Addmission
Year :" Font-Bold="True" Font-Names="Bell MT" Font-Size="Medium"
ForeColor="#6600CC"></asp:Label>
<asp:TextBox ID="TextBox1" runat="server" style="z-index: 1; left:
176px; top: 31px; position: absolute; width: 142px;" TabIndex="1"></asp:TextBox>
<asp:TextBox ID="TextBox2" runat="server" style="z-index: 1; left:
116px; top: 66px; position: absolute; width: 159px" TabIndex="2"></asp:TextBox>
<asp:RegularExpressionValidator ID="RegularExpressionValidator3"
runat="server" ControlToValidate="TextBox4" ErrorMessage="Characters Only"
ForeColor="Red" style="z-index: 1; left: 890px; top: 71px; position: absolute;
height: 19px" ValidationExpression="^[A-Za-z]"></asp:RegularExpressionValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator2"
runat="server" ControlToValidate="TextBox10" ErrorMessage="Enter Valid mail"
ForeColor="Red" style="z-index: 1; left: 464px; top: 340px; position: absolute;
height: 15px; width: 112px" ValidationExpression="\w+([-+.']\w+)*@\w+
([-.]\w+)*\.\w+([-.]\w+)*" SetFocusOnError="True"></asp:RegularExpressionValidator>
<asp:TextBox ID="TextBox3" runat="server" style="z-index: 1; left:
412px; top: 68px; position: absolute; width: 165px" TabIndex="3"></asp:TextBox>
<asp:Button ID="Submit" runat="server" style="z-index: 1; left: 345px;
top: 467px; position: absolute; height: 26px; width: 70px" Text="Submit"
OnClick="Button1_Click" Font-Bold="True" TabIndex="25" />
<asp:Button ID="Reset" runat="server" style="z-index: 1; left: 479px;
top: 467px; position: absolute; height: 26px; width: 70px" Text="Reset"
OnClick="Button2_Click" Font-Bold="True" />
<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="X-
Large" Font-Underline="True" style="z-index: 1; left: 462px; top: 3px; position:
absolute; width: 300px" Text="Enter Student Informatiom."></asp:Label>
<asp:TextBox ID="TextBox4" runat="server" style="z-index: 1; left:
698px; top: 69px; position: absolute; width: 165px" TabIndex="4"></asp:TextBox>
<asp:TextBox ID="TextBox5" runat="server" style="z-index: 1; left:
111px; top: 116px; position: absolute; width: 165px" TabIndex="5"></asp:TextBox>
<asp:DropDownList ID="DropDownList2" runat="server" style="z-index: 1;
left: 713px; top: 113px; position: absolute" TabIndex="7">
<asp:ListItem>~Select~</asp:ListItem>
<asp:ListItem>A+</asp:ListItem>
<asp:ListItem>B+</asp:ListItem>
<asp:ListItem>O+</asp:ListItem>
<asp:ListItem>AB</asp:ListItem>
<asp:ListItem>A-</asp:ListItem>
<asp:ListItem>B-</asp:ListItem>
<asp:ListItem>O-</asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList3" runat="server" style="z-index: 1;
left: 142px; top: 156px; position: absolute" TabIndex="8">
<asp:ListItem>~Select~</asp:ListItem>
<asp:ListItem>Married</asp:ListItem>
<asp:ListItem>Unmarried</asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList4" runat="server" style="z-index: 1;
left: 414px; top: 152px; position: absolute"
OnSelectedIndexChanged="DropDownList4_SelectedIndexChanged" TabIndex="9">
<asp:ListItem>~Select~</asp:ListItem>
<asp:ListItem>Indian</asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList5" runat="server" style="z-index: 1;
left: 708px; top: 160px; position: absolute" TabIndex="10">
<asp:ListItem>~Select~</asp:ListItem>
<asp:ListItem>Gen</asp:ListItem>
<asp:ListItem>St</asp:ListItem>
<asp:ListItem>Sc</asp:ListItem>
<asp:ListItem>OBC</asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList6" runat="server"
OnSelectedIndexChanged="DropDownList6_SelectedIndexChanged" style="z-index: 1;
left: 145px; top: 198px; position: absolute; height: 17px; width: 88px;"
TabIndex="11">
<asp:ListItem>~Select~</asp:ListItem>
<asp:ListItem>Hindi</asp:ListItem>
<asp:ListItem>Oriya</asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList7" runat="server"
OnSelectedIndexChanged="DropDownList6_SelectedIndexChanged" style="z-index: 1;
left: 410px; top: 197px; position: absolute; height: 28px; width: 94px;"
TabIndex="12">
<asp:ListItem>~Select~</asp:ListItem>
<asp:ListItem>Hindu</asp:ListItem>
<asp:ListItem>Muslim</asp:ListItem>
<asp:ListItem>Christian</asp:ListItem>
<asp:ListItem>Sikhh</asp:ListItem>
</asp:DropDownList>
<asp:TextBox ID="TextBox6" runat="server" style="z-index: 1; left:
137px; top: 247px; position: absolute; width: 165px; height: 22px;"
TabIndex="13"></asp:TextBox>
<asp:TextBox ID="TextBox7" runat="server" style="z-index: 1; left:
454px; top: 249px; position: absolute; width: 165px; height: 22px;"
TabIndex="14"></asp:TextBox>
<asp:TextBox ID="TextBox8" runat="server" style="z-index: 1; left:
858px; top: 248px; position: absolute; width: 165px; height: 22px;"
TabIndex="15"></asp:TextBox>
<asp:TextBox ID="TextBox9" runat="server" style="z-index: 1; left:
155px; top: 305px; position: absolute; width: 165px; height: 22px;" TabIndex="16"
MaxLength="10"></asp:TextBox>
<asp:TextBox ID="TextBox10" runat="server"
OnTextChanged="TextBox10_TextChanged" style="z-index: 1; left: 459px; top: 302px;
position: absolute; width: 165px; height: 22px;" TabIndex="17"></asp:TextBox>
<asp:TextBox ID="TextBox11" runat="server"
OnTextChanged="TextBox10_TextChanged" style="z-index: 1; left: 802px; top: 297px;
position: absolute; width: 165px; height: 22px;" TabIndex="18"></asp:TextBox>
<asp:TextBox ID="TextBox12" runat="server"
OnTextChanged="TextBox10_TextChanged" style="z-index: 1; left: 140px; top: 360px;
position: absolute; width: 165px; height: 22px;" TabIndex="19"
TextMode="MultiLine"></asp:TextBox>
<asp:TextBox ID="TextBox13" runat="server"
OnTextChanged="TextBox10_TextChanged" style="z-index: 1; left: 504px; top: 368px;
position: absolute; width: 165px; height: 22px;" TabIndex="20"
TextMode="MultiLine"></asp:TextBox>
<asp:TextBox ID="TextBox14" runat="server"
OnTextChanged="TextBox10_TextChanged" style="z-index: 1; left: 841px; top: 354px;
position: absolute; width: 165px; height: 22px;" TabIndex="21"></asp:TextBox>
<asp:TextBox ID="TextBox15" runat="server"
OnTextChanged="TextBox10_TextChanged" style="z-index: 1; left: 157px; top: 416px;
position: absolute; width: 165px; height: 22px;" TabIndex="22"></asp:TextBox>
<asp:TextBox ID="TextBox16" runat="server"
OnTextChanged="TextBox10_TextChanged" style="z-index: 1; left: 504px; top: 420px;
position: absolute; width: 165px; height: 22px;" TabIndex="23"></asp:TextBox>
<asp:TextBox ID="TextBox17" runat="server"
OnTextChanged="TextBox10_TextChanged" style="z-index: 1; left: 829px; top: 413px;
position: absolute; width: 165px; height: 22px;" TabIndex="24"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ErrorMessage="Cannot Be Blank" style="z-index: 1; left: 346px; top: 32px; position:
absolute; height: 18px;" ControlToValidate="TextBox1" ForeColor="Red"
SetFocusOnError="True"></asp:RequiredFieldValidator>
</asp:Panel>

</form>
</body>
</html>/* NUGET: BEGIN LICENSE TEXT
*
* Microsoft grants you the right to use these script files for the sole
* purpose of either: (i) interacting through your browser with the Microsoft
* website or online service, subject to the applicable licensing or use
* terms; or (ii) using the files as included with a Microsoft product subject
* to that product's license terms. Microsoft reserves all other rights to the
* files not expressly granted by Microsoft, whether by implication, estoppel
* or otherwise. Insofar as a script file is dual licensed under GPL,
* Microsoft neither took the code under GPL nor distributes it thereunder but
* under the terms set out in this paragraph. All notices and licenses
* below are for informational purposes only.
*
* NUGET: END LICENSE TEXT */
/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright
(c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */
/*! NOTE: If you're already including a window.matchMedia polyfill via Modernizr or
otherwise, you don't need this part */
window.matchMedia=window.matchMedia||(function(e,f){var
c,a=e.documentElement,b=a.firstElementChild||
a.firstChild,d=e.createElement("body"),g=e.createElement("div");g.id="mq-test-
1";g.style.cssText="position:absolute;top:-
100em";d.style.background="none";d.appendChild(g);return function(h)
{g.innerHTML='&shy;<style media="'+h+'"> #mq-test-1 { width: 42px; }
</style>';a.insertBefore(d,b);c=g.offsetWidth==42;a.removeChild(d);return{matches:c
,media:h}}})(document);

/*! Respond.js v1.2.0: min/max-width media query polyfill. (c) Scott Jehl.
MIT/GPLv2 Lic. j.mp/respondjs */
(function(e){e.respond={};respond.update=function()
{};respond.mediaQueriesSupported=e.matchMedia&&e.matchMedia("only
all").matches;if(respond.mediaQueriesSupported){return}var
w=e.document,s=w.documentElement,i=[],k=[],q=[],o={},h=30,f=w.getElementsByTagName(
"head")[0]||s,g=w.getElementsByTagName("base")
[0],b=f.getElementsByTagName("link"),d=[],a=function(){var
D=b,y=D.length,B=0,A,z,C,x;for(;B<y;B++)
{A=D[B],z=A.href,C=A.media,x=A.rel&&A.rel.toLowerCase()==="stylesheet";if(!!z&&x&&!
o[z]){if(A.styleSheet&&A.styleSheet.rawCssText)
{m(A.styleSheet.rawCssText,z,C);o[z]=true}else{if((!/^([a-zA-Z:]*\/\/)/.test(z)&&!
g)||z.replace(RegExp.$1,"").split("/")[0]===e.location.host)
{d.push({href:z,media:C})}}}}u()},u=function(){if(d.length){var
x=d.shift();n(x.href,function(y)
{m(y,x.href,x.media);o[x.href]=true;u()})}},m=function(I,x,z){var
G=I.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),J=G&&G.length||
0,x=x.substring(0,x.lastIndexOf("/")),y=function(K){return K.replace(/(url\()['"]?
([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+x+"$2$3")},A=!J&&z,D=0,C,E,F,B,H;if(x.length)
{x+="/"}if(A){J=1}for(;D<J;D++){C=0;if(A)
{E=z;k.push(y(I))}else{E=G[D].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.
$1;k.push(RegExp.$2&&y(RegExp.$2))}B=E.split(",");H=B.length;for(;C<H;C++)
{F=B[C];i.push({media:F.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.
$2||"all",rules:k.length-1,hasquery:F.indexOf("(")>-1,minw:F.match(/\(min\-width:
[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.
$2||""),maxw:F.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)
[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}}j()},l,r,v=function(){var
z,A=w.createElement("div"),x=w.body,y=false;A.style.cssText="position:absolute;font
-size:1em;width:1em";if(!x)
{x=y=w.createElement("body");x.style.background="none"}x.appendChild(A);s.insertBef
ore(x,s.firstChild);z=A.offsetWidth;if(y)
{s.removeChild(x)}else{x.removeChild(A)}z=p=parseFloat(z);return z},p,j=function(I)
{var x="clientWidth",B=s[x],H=w.compatMode==="CSS1Compat"&&B||w.body[x]||
B,D={},G=b[b.length-1],z=(new Date()).getTime();if(I&&l&&z-l<h)
{clearTimeout(r);r=setTimeout(j,h);return}else{l=z}for(var E in i){var
K=i[E],C=K.minw,J=K.maxw,A=C===null,L=J===null,y="em";if(!!C)
{C=parseFloat(C)*(C.indexOf(y)>-1?(p||v()):1)}if(!!J)
{J=parseFloat(J)*(J.indexOf(y)>-1?(p||v()):1)}if(!K.hasquery||(!A||!L)&&(A||
H>=C)&&(L||H<=J)){if(!D[K.media])
{D[K.media]=[]}D[K.media].push(k[K.rules])}}for(var E in q)
{if(q[E]&&q[E].parentNode===f){f.removeChild(q[E])}}for(var E in D){var
M=w.createElement("style"),F=D[E].join("\n");M.type="text/css";M.media=E;f.insertBe
fore(M,G.nextSibling);if(M.styleSheet)
{M.styleSheet.cssText=F}else{M.appendChild(w.createTextNode(F))}q.push(M)}},n=funct
ion(x,z){var y=c();if(!y)
{return}y.open("GET",x,true);y.onreadystatechange=function(){if(y.readyState!=4||
y.status!=200&&y.status!=304){return}z(y.responseText)};if(y.readyState==4)
{return}y.send(null)},c=(function(){var x=false;try{x=new XMLHttpRequest()}catch(y)
{x=new ActiveXObject("Microsoft.XMLHTTP")}return function(){return x}})
();a();respond.update=a;function t(){j(true)}if(e.addEventListener)
{e.addEventListener("resize",t,false)}else{if(e.attachEvent)
{e.attachEvent("onresize",t)}}})(this);

You might also like