| Example 1.
<html> <title>Preaching</title> <head> </head> <body background="Bg4.jpg"> <table border="0"> <tr> <td width="1090" height="30" bgColor="#b1e0fb"><center> <a href="http://neteye/iissamples/Hindi/Mukhya.html"> <img src="Btn05.gif" width="80" height="30" border="0"></a></center> </td></tr></table> <table border="0"><tr> <td width="15%" valign="top" background="Bg.jpg" height="636" colspan="4"> <img src="Ganeshji.jpg" width="140" height="160"><br> <img src="Flowerb2.gif" width="140" height="160"><br> <img src="Flowerbush.gif" width="140" height="160"><br> </td><td> <center><img src="Om.jpg" width="40" height="40"><br> font size="5" color="purple"><b> Spiritual preaching<br> </b></font><br><font size="2" color="blue"> By Jahnava Nitai Das <br> Bhaktivedanta Ashram, Mysore</font></center><br> <font size="5" color="purple"><b> A lecture given in Bhubaneswar, <br> India on September 28, 1995.</b></font> <br> font size="4" color="purple"><b> <p align="justify"> If you are very greedy, very eager to have sadhu-sanga, sat-sanga, the association of grantha-bhagavata and bhakta-bhagavata, first of all you have to give up duhsanga or asat-sanga. What is association? One may say that to come in close proximity to a person is association. But that is not the fact. Association takes place in the mind, in the heart. As long as there are desires for material enjoyment, desires for liberation, desires for mystic perfections, and other desires in your heart, then you are doing asat-sanga. </p> We will be cheated. We will get all external things. <br> ================================================<br> </td></tr><tr align="center"> <a href="http://neteye/iissamples/Hindi/Mukhya.html"> <td width="15%" align="center" background="Btn7.jpg" width="35" height="35" border="0"> <br><font size="5"><b>Home </font></b>.</td> </a> td> <a href=" " onClick="window.close()"> <br><font size="5"><b>Exit </font></b>.<br> </tr></center> </table> </body> </html> Now we are creating a data entry form. You will type the field�s name as per your table in oracle or any database. Example 2 : <HTML> <HEAD> META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0"> <TITLE>HEntry</TITLE> <center> <img src="hd3.jpg" width="650" height="25" border="0"><br> <font color="black" size="5"><b> BHARAT HEAVY ELECTRICALS LIMITED</b></font> <br> <img src="tit.jpg" width="450" height="15" border="0"><hr> <font size="4" color="red"><b> DATA ENTRY SCREEN HW INFORMATION </b></font><br> <font color="red" size="4"> (Inserting into a table)</font><br> </center><hr> <font color="green" size="3"><b> <marquee>PO_NO will not to be null. </marquee></font></b> </HEAD> <BODY bgColor="#E1E0BD" text="blue"> <center> <FORM Method="post" action="Hard-Entry.asp"> <table border="2" borderColor="red"><font size="6"><strong> <TBODY> <tr><td align="right"><b> PO_No :</td> <td><input type="text" name="h1" size="10"></td> <td align="right"><b> Po_Item_Tag :</td> <td><input type="text" name="h2" size="5"></td></tr> <tr><td align="right"><b> Equip_No :</td> <td><input type="text" name="h3" size="20"></td> <td align="right"><b> Item_Type :</td> <td><input type="text" name="h4" size="10"></td></tr> <tr><td align="right"><b> Item_Desc. :</td> <td><input type="text" name="h5" size="20"></td> <td align="right"><b> Instln_Date :</td> <td><input type="text" name="h6" size="15"></td></tr> <tr><td align="right"><b> Dept. :</td> <td><input type="text" name="h7" size="5"></td> <td align="right"><b> Loc_Bldg :</td> <td><input type="text" name="h8" size="5"></td></tr> <tr><td align="right"><b> Loc_Blk :</td> <td><input type="text" name="h9" size="15"></td> <td align="right"><b> Loc_Bay :</td> <td><input type="text" name="h10" size="3"></td></tr> <tr><td align="right"><b> Loc_Colm :</td> <td><input type="text" name="h11" size="8"></td> <td align="right"><b> Con_Person :</td> <td><input type="text" name="h12" size="20"></td></tr> <tr><td align="right"><b> Con_Ph : </td> <td><input type="text" name="h13" size="8"></td> <td align="right"><b> Remarks :</td> <td><input type="text" name="h14" size="30"></td></tr> </font></TBODY></table> <hr color=deepskyblue style="HEIGHT: 2px; WIDTH: 542px"> <input type="submit" name="submit" value="Save The Record"> <input type="reset" name="reset" value="Reset"> <a href="menu.html">MAIN-MENU</a> <a href=" " onClick="window.close();"> <img src="exit1.jpg" width="120" height="25" border="0"></a> <hr color=deepskyblue style="HEIGHT: 2px; WIDTH: 539px"> <a href="menu.html" target="abc"> </FORM><P> </P> </center></STRONG> </BODY> </HTML> |
Example 3. Here is a script for you. While running this program, enter Amt_Dep
and Amt_Witdl then click Balance button.
<html> head><title>mod</title><center> <Script Language="JavaScript"> <!-- function bln2() { var dep1=document.bnk2.bk2.value; var wit1=document.bnk2.bk6.value; var blcn1=(dep1 - wit1); document.bnk2.bk10.value=blcn1; } // --> </Script> <font color="blue" size="4"><b> BANK2 ENTRY SCREEN</b></font></center> </head> <body bgColor="DEEEDD" text="blue"><center> <Form name="bnk2" Method="POST" Action="b2-entry.asp"> <font size="4" color="blue"><b> <table border="2" borderColor="red"> <tr> <td align="right">Account No :</td> <td><input type="text" name="bk1" size="12"></td> <td align="right">Amt_Dep :</td> <td><input type="text" name="bk2" size="10"></td> </tr> <tr> <td align="right">Cash_Cheq_DD :</td> <td><input type="text" name="bk3" size="10"></td> <td align="right">Cheq_DD No :</td> <td><input type="text" name="bk4" size="20"></td> </tr> <tr> <td align="right">Dep_Date :</td> <td><input type="text" name="bk5" size="10"></td> <td align="right">Amt_Witdl :</td> <td><input type="text" name="bk6" size="20"></td> </tr> <tr> <td align="right">By Cash_Cheq_DD :</td> <td><input type="text" name="bk7" size="10"></td> <td align="right">Chq_DD No :</td> <td><input type="text" name="bk8" size="20"></td> </tr> <tr> <td align="right">Witdl_Date :</td> <td><input type="text" name="bk9" size="10"></td> <td><input type="button" name="bn2" value="Balance :" onClick="bln2()">=</td> <td><input type="text" name="bk10" size="10"></td> </tr> </table> <input type="submit" name="submit" value="SUBMIT"> <input type="reset" name="bot2" value="CLEAR"> <a href=" " onClick="window.close()"> <input type="button" name="bot1" value="Exit"></a> </Form> </body> </html> NOW LEARN FRAME SET. Make 3 pages, Link with this frame as the program below and run. <html> <head> <title>Frame</title> </head> <frameset rows="10, 60" align="top" border=5> <frame name="xyz" src="Exercise1.html" NORESIZE Scrolling="Auto"> <noframe>Thanks</noframe> <frameset cols="80, *" border=5> <frame name="abc" src="Exercise4.html" NORESIZE Scrolling="Auto"> <frame name="abc" src="Exercise5.html" NORESIZE Scrolling="Auto"> </frameset> </frameset> </html> <HTML> This is DATA Entry Form :- <HEAD> <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0"> <TITLE>Introduction</TITLE> <center> <font size="5" color="red"> DATA ENTRY SCREEN INTRODUCTION</font><br> <font color="red" size="4"> (Inserting into trng_introduction)</font><br> </center><hr> <font color="green" size="3"><b> <marquee>ROLL_NO not to be null. </marquee></font></b> </HEAD> <BODY bgColor="#E1E0BD" text="blue"> <center> <FORM Method="post" action="IntroEntry.asp"> <table border="2" borderColor="red"><font size="6"><strong> <TBODY> <tr><td></td><td></td><th align="center"><font color="gray"><marquee> ENTER YOUR RECORD HERE</marquee></font></th></tr> <tr><td align="right"><b> Roll No :</td> <td><input type="text" name="i1" size="10"></td> <td align="right"><b> Name :</td> <td><input type="text" name="i2" size="20"></td></tr> <tr><td align="right"><b>Trade :</td> <td><input type="text" name="i3" size="10"></td> <td align="right"><b> Joining Date :</td> <td><input type="text" name="i4" size="10"></td></tr> <tr><td align="right"><b> Ending Date :</td> <td><input type="text" name="i5" size="10"></td> <td align="right"><b>Address :</td> <td><input type="text" name="i6" size="20"></td></tr> <tr><td align="right"><b>Phone No :</td> <td><input type="text" name="i7" size="5"></td> </tr> </font></TBODY></table> <hr color=deepskyblue style="HEIGHT: 2px; WIDTH: 542px"> <input type="submit" name="submit" value="Save The Record"> <input type="reset" name="reset" value="Reset"> <a href=" " onClick="window.close()"> EXIT</a> <hr color=deepskyblue style="HEIGHT: 2px; WIDTH: 539px"> </FORM> <P> </P> </center></STRONG> </BODY> </HTML> |