Escolar Documentos
Profissional Documentos
Cultura Documentos
Website Of
On
Submitted to Lovely Professional University, Phagwara For partial fulfillment of the required award of MCA (Master in Computer Application) Session 2009-2012
Submitted By Name- Vikas Lalotra Roll No. RTB903A17 Reg No. - 10901758
Acknowledgement
If practical knowledge carves and sharps the carrier of a person, practical experience polishes it and adds luster and brilliance to it. Here, we found this golden chance to acknowledge all those people who had blessed, encouraged and supported us technically and morally through all the phases of our term paper. We take this opportunity to express our profound sense of gratitude. We thank all mighty God for giving us this valuable opportunity to express to all those who helped in successful completion of this term paper. We reserve heartiest gratitude to Mr. Balraj Kumar HOD who has been very supportive and encouraging throughout this term paper. He guides us for having given us an opportunity to undertake the term paper and providing us with feedback and influenced the development of this term paper. We gratefully acknowledge invaluable note of our term paper guide M and to all teachers who besides helping us in the term paper, guided and encouraged us along each step. We express heartfelt thanks to our friends for their morale and support and Kind Corporation during this course of formulation o this project work. Last but not least, my sincere regards are reserved for our family and friends who have always encouraged and blessed us with their best.
Vikas Lalotra
Certificate
Term Paper No.: Course Instructor: Date of Allotment: Students Roll No: Declaration:
CAP305
I declare that this assignment is my individual work. I have not copied from any other students work or from any other source except where due to acknowledgement is made explicitly in the text, nor has any part been written for me by another person.
Students Signature:
Vikas Lalotra
Introduction of HTML
HTML, which stands for HyperText Markup Language, is the predominant markup language for web pages. It is written in the form of HTML elements consisting of "tags" surrounded by angle brackets within the web page content. It is the building blocks of all basic websites. It allows images and objects to be embedded and can be used to create interactive forms. It provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. It can embed scripts in languages such as JavaScript which affect the behavior of HTML webpage. HTML can also be used to include Cascading Style Sheets (CSS) to define the appearance and layout of text and other material. The W3C, maintainer of both HTML and CSS standards, encourages the use of CSS over explicit presentational markup.
Introduction of ASP.NET
ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites, web applications and web services. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology. ASP.NET is built on the Common Language Runtime (CLR), allowing programmers to write ASP.NET code using any supported .NET language. The ASP.NET SOAP extension framework allows ASP.NET components to process SOAP
messages.
Introduction of website
A telephone directory (also called a telephone book and phone book) is a listing of telephone subscribers in a geographical area or subscribers to services provided by the organization that publishes the directory. Subscriber names are generally listed in alphabetical order, together with their postal or street address and telephone number With a cell phone directory reverse lookup you can find out information about any number that's been calling you, including the owner's name and address.
Home Page
<html> <head> <title>MAIN PAGE</title> </head> <frameset rows="24%,76%"> <frame src="image.html" name="first"> <frameset cols="15%,65%,20%"> <frame src="index.html" name="second"> <frame src="target.html" name="third"> <frame src="image1.html" name="fourth"> </frameset> </frameset> </html>
Index Page
<html> <head> <title>link page</title> <style type="text/css"> h1{font-family:arial;font-size:18} </style> </head> <body bgcolor=#aeaeaa alink="white" vlink="white" link="white"> <div style="position:absolute;left:0px;top:0px;"> <img src="image\telephone3.jpg" height=220 width=190> </div> <br><br>
<div style="position:absolute;left:20px;top:220px"> <a href="target.html" target="third"><h1>Home</a><br><br> <a href="city.html" target="third">Search City Wise</a><br><br> <a href="stdcode.html" link="white" target="third">Search STD Code</a><br><br> <a href="c.html" target="third">Search ISD code</h1></a><br><br> </div> </body> </html>
City Page
<html> <head> <title>city wise</title> </head> <body link=blue alink=blue vlink=blue> <h1 align=center>Names of Punjab States</h1> <hr size=3 width=80% align=center color=#aeaeaa><br> <div style="position:absolute;left:120px;top:73px"> <a href="asr.html">AMRITSAR</a><br><br> <a href="bht.html">BHATINDA</a><br><br> <a href="chd.html">CHANDIGARH</a><br><br> <a href="frz.html">FEROZEPUR</a><br><br> <a href="hos.html">HOSHIARPUR</a><br><br> <a href="jld.html">JALANDHAR</a><br><br> <a href="ldh.html">LUDHINA</a><br><br>
{ with(document.form1) { if(test.value=="") { alert("Please fill the value according to select radio button"); return false; } } return true; } </script> </head> <body alink=white vlink=white link=white> <div style="position:absolute;left:120px;top:10px;"> <h1 align=center>Telephone Directory Of Amritsar</h1> <hr size=3 width=600px align=center color=#aeaeaa><br><br> </div> <div style="position:absolute;left:120px;top:150px;"> <form name="form1" method="post" onsubmit="Javascript:return(form1_onsubmit());"><h2> <h2> Search by <input type="radio" name="asr"> Name <input type="radio" name="asr"> Address <input type="radio" name="asr"> Telephone Number<br><br>
Enter Name/Address/Telephone Number <input type="text" name="test" size=20 maxsize=50> key Position <select name=key> <option>Starting With</option> <option>End</option> <option>Exactly</option> <option>Any where</option> </select><br><br> Select Station <select name=namebox> <option>All</option> <option>Amritsar</option> <option>Ajnala</option> <option>Patti</option> <option>Rayya</option> <option>Tarntaran</option> </select><br><br><br></div> <div style="position:absolute;left:260px;top:280px;"> <input type="submit" value=Search> <input type="reset" value=Reset></div> </form> <div style="position:absolute;top:330px;left:360px;"> <a href="city.html"><img src="image\next.jpg" height=50 width=50></a> <a href="city.html"><img src="image\back.jpg" height=50 width=50></a> </div> </body>
</html>
STD Coding
<html> <head> <title>std code</title> <style type="text/css"> h2{font-family:arial;font-size:15;font-weight:normal} </style> <script language="JavaScript"> function form2_onsubmit() { with(document.form2) { if(test1.value=="") { alert("Please fill the value according to select radio button"); return false; } }
return true; }
</script>
</head> <body> <div style="position:absolute;left:200px;top:10px;"> <h1 align=center>STD Code</h1> <hr size=3 width=400px align=center color=#aeaeaa><br><br> </div> <div style="position:absolute;left:580px;top:130px;"> <a href="allcode.html"><font size=4 backgroundcolor=black color=red>View all city code</font></a> </div> <div style="position:absolute;left:120px;top:150px;"> <form name="form2" method="post" onsubmit="Javascript:return(form2_onsubmit());"><h2> Search by <input type="radio" name="asr1" select> City Name <input type="radio" name="asr"> City Code <br><br> Enter City Name/Code <input type="text" name="test1" size=20 maxsize=50> key Position <select name=key> <option>Starting With</option> <option>End</option> <option>Exactly</option>
<option>Any where</option> </select><br> <p>(Please don't enter zero in started code) <div style="position:absolute;left:260px;top:120px;"> <input type="submit" value="Search"> <input type="reset" value="Reset"> </form> </div> </body> </html>
Connectivity with Database(std code) <html> <head> <title>Database</title> </head> <body> <% set conn=server.createobject("ADODB.connection") conn.Provider="MIcrosoft.Jet.OLEDB.4.0" conn.open="c:\inetpub\wwwroot\state.mdb" set rs=server.createobject("ADODB.recordset") rs.open"select * from code",conn do until rs.EOF response.write("<table border=1 cellpadding=1 cellspacing=1>") response.write("<tr>") for each x in rs.fields response.write("<td>") response.write(x.value) response.write("</td>")
next rs.movenext
Connectivity with Database(isd code) <html> <head> <title>Database</title> </head> <body> <% set conn=server.createobject("ADODB.connection") conn.Provider="MIcrosoft.Jet.OLEDB.4.0" conn.open="c:\inetpub\wwwroot\isd.mdb" set rs=server.createobject("ADODB.recordset") rs.open"select * from code",conn do until rs.EOF response.write("<table border=1 cellpadding=1 cellspacing=1>") response.write("<tr>") for each x in rs.fields response.write("<td>") response.write(x.value) response.write("</td>")