You are on page 1of 35

ACKNOWLEDGEMENT

All endeavors in life whether small or big involve co-operation from a large number of people directly or indirectly. With this acknowledgement I would like to express my gratitude to the people who have helped us to accomplish this task.

First of all I would like to thank ________________ for his constructive criticism and suggestions. With a deep sense of gratitude I express my sincere thanks to !s."apna #ain for their active support and continuous guidance while pursing the practical. I am grateful to all the $eachers for their co-operation whenever needed.

%"ignature of "tudent&

'ame

)oll 'o "chool 'ame


*+", "chool *ode

( (
(

)yan International "chool


-./00

INDEX

S. NO.
1

Title of the Program


Write the 2$!3 code to generate a web page with the given format. *reate an 2$!3 document that contains an image of si4e 15- x 15-. Write procedure to increase the si4e of the image to 6-- x 6-- when the mouse is moved over the image. $he image should change back to its original si4e as soon as the mouse is moved away from the image. *reate an 2$!3 document that contains four radio buttons. 7epending upon the user8s choice change the background colour of the web page to the colour selected by the user. Write a procedure for "ubmit button in a form to display the message 9:ou are selected; if the stream is 9science; and percentage is greater than or e<ual to 05 otherwise it should display 9"orry not selected.; =se textboxes to enter stream and percentage. Write a script to accept percentage marks from a student through textbox and display division secured in a message box on the basis of given criteria( +elow 66> - failed 66> to 5-> - III 7ivision 5- to ?-> - II 7ivision ?- to 05> - I 7ivision and 7istinction on above 05>. Write a script to input 5 elements in an array %using Inputbox& and display the array elements in reverse order on click of a button. Write a program to accept a string and convert the first character of each word in the string to upper case. Write a program to accept a string and display the number of vowels and words in the string. Write A"B code to check weather a given number is prime or not. Write A"B code to display the first 1- numbers of the Fibonacci series. Write A"B code to assign values to an array of 1integers and find the sum of the elements in the array that are divisible by 6. Write a sub routine that takes a string argument and checks weather the string is palindrome or not.

Date of Execution

Teacher's Sign

@ A 1-

11

1/

S. NO.
16

Title of the Program


A webpage to calculate the factorial of a number entered by the user and the sum of digits in it. ,ach should be done using a separate function. *reate an A"B file which uses cookies and displays the time and date of last visit. It should also display how many times a user has visited the site before. If he is visiting the site for the first time welcomes the user with an appropriate message. *reate a webpage which includes an ad rotator component in the A"B page with at least 6 advertisements with weight age of /- 6- and 5-. $his ad rotator should be placed on the top of the webpage. *reate a webpage which includes a content rotator in the A"B page with at least 6 different 2$!3 content %a picture formatted text a hyperlink& with weight age of 6-0. *reate a webpage which has an opinion pole of any topic of your interest. $he page should display the results of the opinion pole in a tabular form. $he page should also include a page counter component which displays the number of time the webpage has been viewed. Write an A"B program to read a text file and display the content of the text file. It should also count the number of lines the number of characters and the number of vowels in the file. Write an A"B program to read a text file and display the content t of the text file after converting all the text to uppercase and replacing all spaces with C. *reate an access database called library with a table named called book. It should contain information like book code title price and author. *reate an A"B file to do the following( 1. 7isplay the information in the book table /. Add a new record in the book table 6. 7elete a record from book table that matches the title entered by the user. .. Diew the details of a book with a particular book code entered by the user and update the latest changes made into it.

Date of Execution

Teacher's Sign

1.

15

1?

10

1@

1A

/-

Practical 1
Write the HTML code to generate a web page with the given format.

<html> <title>Little Flower</title> <body bgcolor="yellow"> <center> <h1> <font color="blue">WELCOME O L! LE FLOWE" #C$OOL</font></h1> <hr> <img %rc="flower&'(g" height=1)) width=1)) border=1)> </center> <font f*ce="Comic #*n% M#" color=""ed"> <ol ty(e="!"> <b> $E L! LE FLOWE"# E+,O- $E FOLOW!+. /C !0! !E#12</b> <li><* href="in&html">!+3OO" /C !0! !E#</*> <ul ty(e="circle"> <li>4*inting <li>Cl*y Modelling </ul> <li><* href="out&html">O5 3OO" /C !0! !E#<*/> <5L -4E="#65/"E"> <li>%wimming <li>hor%e riding </ul> </ol>

<center> <t*ble border=7 bordercolor="green" cell%(*cing=7> <tr> <th>f*cilitie% <th>%umming timing% <th>winter timing% <tr> <td>'unior %chool <td>8&9)*m to 1:&9) (m <td>8&9)*m to 1:&)) (m <tr> <td>hobby club <td>7&)) (m to ;&)) (m <td><&9) (m to =&9) (m </t*ble> <hr> <font %i>e=:>cont*ct u% *t 18?81:9<7= </html>

Practical 2

Create an HTML document that contains an image of size 150 150. Write procedure to increase the size of the image to !00 !00 when the mouse is moved over the image. The image shou"d change bac# to its origina" size as soon as the mouse is moved awa$ from the image.

<HTML> <HEAD> <TITLE>Handling image events</TITLE> <SCRIPT LANGUAGE= !"S#$i%t > S&' image()*nM+&se*ve$ ,ind+,-d+#&ment-image(-.eig.t=/00 ,ind+,-d+#&ment-image(-,idt.=/00 End S&' S&' image()*nM+&se*&t ,ind+,-d+#&ment-image(-.eig.t=(10 ,ind+,-d+#&ment-image(-,idt.=(10 End S&' </SCRIPT> </HEAD><"*D2> <H(></H(> <IMG SRC= images-3%g NAME= image( .eig.t=(10 ,idt.=(10> </"*D2> </HTML>

Practical 3

Create an HTML document that contains four radio buttons. %epending upon the user&s choice change the bac#ground co"our of the web page to the co"our se"ected b$ the user.

<$ ML> <$E/3> < ! LE>Ch*nge @*cAground color</ ! LE> <#C"!4 L/+.5/.E="0@#cri(t"> #ub ColorbgBbgC document&bgcolor=bg End #ub </#C"!4 > </$E/3> <@O3-><FO"M +/ME="form1"> <$:>ClicA here to ch*nge the b*cAground color</$:> <4><!+45 -4E="r*dio" +/ME="color" 0/L5E=""ed" OnClicA="ColorbgBD"edDC">"ed</4> <4><!+45 -4E="r*dio" +/ME="color" 0/L5E=".reen" OnClicA="ColorbgBD.reenDC">.reen</4> <4><!+45 -4E="r*dio" +/ME="color" 0/L5E="@lue" OnClicA="ColorbgBD@lueDC">@lue</4> <4><!+45 -4E="r*dio" +/ME="color" 0/L5E="-ellow" OnClicA="ColorbgBD-ellowDC">-ellow</4> </FO"M> </@O3-> </$ ML>

Practical 4: Write a procedure for 'ubmit button in a form to disp"a$ the message ()ou are se"ected* if the stream is (science* and percentage is greater than or e+ua" to ,5otherwise it shou"d disp"a$ ('orr$- not se"ected.* .se te tbo es to enter stream and percentage.

<html> <he*d> <#C"!4 L/+.5/.E="0@#cri(t"> #5@ @1EOnCLicA if uc*%eBdocument&frm1&tFt1&G*lueC="#C!E+CE" /+3 document&frm1&tFt:&G*lue >=;7 then m%gboF "-ou *re %elected&" el%e m%gboF "#orryH not %elected&" end if E+3 #5@ </%cri(t> </he*d><body>

<form +/ME="frm1"> <(><h1>4le*%e Enter 3*t*</h1></(> <(><h9>Enter your %tre*m1<in(ut ty(e="teFt" n*me="tFt1"></h9 <(><h9>Enter your (ercent*ge1<in(ut ty(e="teFt" n*me="tFt:"></h9 <(><in(ut ty(e="@utton" G*lue="#ubmit" n*me="@1">

</(> </form> </body></html>

Practical 5: Write a script to accept percentage mar#s from a student through te tbo and disp"a$ division secured in a message bo - on the basis of given criteria/ 0e"ow !!1 2 fai"ed- !!1 to 501 2 333 %ivision- 50 to 401 2 33 %ivision- 40 to ,51 2 3 %ivision and %istinction on above ,51.

<html> <he*d> <title>gr*de c*lcul*tion</title> <#C"!4 L/+.5/.E="0@#cri(t"> #ub btn1EOnClicA 3im gr*deH(er (er=intBdocument&frm1&tFt1&G*lueC !f (er>=;7 hen gr*de="3i%tinction" el%eif (er<;7 /+3 (er>==) hen gr*de="! 3iGi%ion" el%eif (er<=) /+3 (er>=7) hen gr*de="!! 3iGi%ion" el%eif (er<7) /+3 (er>=99 hen gr*de="!!! 3iGi%ion" el%e gr*de="F*lied" end if m%gboFB"-ou h*Ge got "Igr*deC End #ub </%cri(t></he*d><body>

<form n*me=frm1> <h:> <(>C*lcul*te your diGi%ion</(> <(>Enter your (ercent*ge1<in(ut ty(e="teFt" n*me="tFt1"><br><br> <in(ut ty(e="#ubmit" n*me="btn1" 0*lue="#how .r*de"> </(> </h:></form></body></html>

Practical 6: Write a script to input 5 e"ements in an arra$ 5using 3nputbo 6 and disp"a$ the arra$ e"ements in reverse order on c"ic# of a button.

<html> <title>"eGer%ing *n *rr*y</title> <%cri(t l*ngu*ge="0@#cri(t"> %ub di%(B*C document&writeB"!n(ut li%t1"I"<br>"C for i=) to < document&writeB*BiCI"<br>"C neFt document&writeB""eGer%ed li%t1"I"<br>"C for i=< to ) %te( 21 document&writeB*BiCI "<br>"C neFt end %ub </%cri(t> <body> <%cri(t l*ngu*ge="0@#cri(t"> dim *B<C for i=) to < *BiC=in(utboFB"Enter * number1"C neFt </%cri(t> <h1>Enter the number% *nd %ee their reGer%e</h1> <form> <in(ut ty(e="button" n*me="b1" OnClicA=di%(B*C G*lue="ClicA to %ee the number% in reGer%e order"> </form> </body></html>

Practical 7: Write a program to accept a string and convert the first character of each word in the string to upper case.

<html> <title>ConGert to u((erc*%e</title> <%cri(t l*ngu*ge="0@#cri(t"> #ub 3i%(l*yB/C ch=5c*%eBLeftB/H1CC document&writeBchC for i=: to LenB/C ch=MidB/HiH1C ch1=MidB/HiJ1H1C if ch=" " hen document&writeB" "I5c*%eBch1CC i=iJ1 el%e document&writeBchC End if neFt End #ub </#cri(t> </he*d><body>

<%cri(t l*ngu*ge="0@#cri(t"> 3im / /=!n(ut@oFB"Enter * %tring1"C 3i%(l*yB/C </#cri(t> </body></html>

Practical 8: Write a program to accept a string and disp"a$ the number of vowe"s and words in the string.

<html> <title>0owel *nd word count</title></he*d><body>

<%cri(t l*ngu*ge="0@#cri(t"> 3im %tr %tr=!n(utboFB"Enter the %tring"C countG=) countw=) for i=1 to lenB%trC ch=5c*%eBmidB%trHiH1CC if ch="/" or ch="E" or ch="!" or ch="O" or ch="5" then countG=countGJ1 el%eif ch=" " then countw=countwJ1 end if neFt document&writeB"<$:> he in(ut %tring i%1 " I%trI"<@"><@">"C document&writeB"+umber of Gowel% *re "IcountGI"<@">+umber of word% *re "IcountwJ1I"</$:>"C </%cri(t></body> </html>

Practical 9: Write 7'8 code to chec# weather a given number is prime or not.

<.tml><.ead></.ead> <'+d4> <H(> <5 Dim n&m67lag 7lag=0 n&m=8( 7+$ i=8 t+ n&m/8 i7 n&m m+d i = 0 t.en 7lag=( end i7 ne9t i7 7lag=0 t.en $es%+nse-,$ite: <H(> ;n&m; is a %$ime n&m'e$- < else $es%+nse-,$ite:n&m; is n+t a %$ime n&m'e$- ; </H(> < end i7 5></H(> </'+d4></.tml>

Practical 10:

Write 7'8 code to disp"a$ the first 10 numbers of the 9ibonacci series.

<.tml><.ead> <title>=i'+na##i Se$ies</title> </.ead><'+d4> <5 Dim a6'6#6i a=0 '=( $es%+nse-,$ite: <H/>=i'+na##i Se$ies><"R> ;a; <"R> ;'< 7+$ i=8 t+ (0 #=a?' $es%+nse-,$ite: <"R> ;#< a=' '=# ne9t $es%+nse-,$ite: </H/> < 5> </'+d4> </.tml>

Practical 11: Write 7'8 code to assign va"ues to an arra$ of 10 integers and find the sum of the e"ements in the arra$ that are divisib"e b$ !.

<.tml> <.ead> <title>S&m +7 n&m'e$s</title> </.ead> <'+d4> <H/> <5 Dim a$$:(0<6i6s&m s&m=0 $es%+nse-,$ite: T.e list +7 n&m'e$s><"R> < 7+$ i=0 t+ @ a$$:i<=i?1 $es%+nse-,$ite: <"R> ;a$$:i<< ne9t 7+$ i=0 t+ @ i7 a$$:i< m+d / = 0 t.en s&m=s&m?a$$:i< end i7 ne9t $es%+nse-,$ite: <"R>T.e s&m is ;s&m< 5></H/> </'+d4> </.tml>

Practical 12: Write a sub routine that ta#es a string argument and chec#s weather the string is pa"indrome or not.

<.tml><.ead><TITLE>Palind$+me</TITLE></.ead><'+d4> <H8> <=*RM ACTI*N= A(8-as% METH*D= P*ST > Ente$ 4+&$ te9t> <INPUT T2PE= TEBT NAME= t9t( > <INPUT T2PE= S&'mit !ALUE= SH*C > </=*RM> <5 Dim st$ st$=ReD&est-=+$m: t9t( < i7 st$<> T.en 7+$ E=len:st$< t+ ( ste%F( $ev=$ev?mid:st$6E6(< ne9t I7 st$=$ev t.en $es%+nse-,$ite:st$; is a %alind$+me- < Else $es%+nse-,$ite:st$; is n+t a %alind$+me- < End I7 End I7 5> </H8> </'+d4> </.tml>

Practical 13: 7 webpage to ca"cu"ate the factoria" of a number entered b$ the user- and the sum of digits in it. :ach shou"d be done using a separate function.

<.tml> <.ead> <5 S&' 7a#t+$ial:n&m< Dim 7a#t6i 7a#t=( 7+$ i=n&m T* ( ste%F( 7a#t=7a#tGi ne9t Res%+nse-,$ite: <"R>T.e 7a#t+$ial +7 ;n&m; is ;7a#t< End S&' S&' s&mdigit:n&m< Dim $6i6s&m s&m=0 i=n&m C.ile i>0 $=i m+d (0 s&m=s&m?$ i=int:i/(0< Cend Res%+nse-,$ite: <"R>T.e s&m +7 digits in ;n&m; is ;s&m< End S&' 5>

</.ead> <'+d4> <H8> <=*RM met.+d= P+st a#ti+n= A(/-as% > Ente$ a N&m'e$> <INPUT T2PE= Te9t NAME= t9t( > <INPUT T2PE= S&'mit !al&e= Cal#&late > </=*RM> <5 Dim n&m n&m=ReD&est-=+$m: t9t( < i7 n&m<> T.en #all 7a#t+$ial:int:n&m<< Res%+nse-,$ite: <"R> < #all s&mdigit:int:n&m<< End I7 5> </H8> </'+d4> </.tml>

Practical 14: Create an 7'8 fi"e- which uses coo#ies and disp"a$s the time and date of "ast visit. 3t shou"d a"so disp"a$ how man$ times a user has visited the site before. 3f he is visiting the site for the first time we"comes the user with an appropriate message.

<5H lang&age= !"S#$i%t 5> <5 lasta##esstime=$eD&est-#++Eies: lasttime <5> <5 lasta##essdate=$eD&est-#++Eies: lastdate <5> <5 i7 :ReD&est-C++Eies: n&mvisits <= < t.en $es%+nse-#++Eies: n&mvisits <=0 else $es%+nse-#++Eies: n&mvisits <=$eD&est-#++Eies: n&mvisits < ? ( end i7 5> <5 $es%+nse-#++Eies: lastdate <=date 5> <5 $es%+nse-#++Eies: lasttime <=time 5> <.tml> <.ead> <title> USING #++Eies in ASP a%%li#ati+ns</title> </.ead> <'+d4> <./> ,el#+me t+ ASP APPLICATI*N ,it. #++EiesI </./> <#ente$ st4le= '+$de$>d+&'leJ'a#Eg$+&ndF#+l+$=%inE > <5 i7 :$eD&est-#++Eies: n&mvisits <=0< t.en 5> <%>

,el#+me <'$> t.is is t.e 7i$st time 4+&$ visiting t.is ,e'%age- <'$> <5 else 5> <%> t.anEs 7+$ visiting t.is ,e' %age4+& .ave vistied t.is ,e'site a t+tal +7 <5=$eD&est-#++Eies: n&mvisits <5>time:S<<5end i75> </#ente$> <.$> <%> t.e #&$$ent time is <5=time5> +n <5=date5><'$> <5 i7 :$eD&est-#++Eies: n&mvisits << >0 t.en 5> 4+& last a##essed t.is ,e'%age at <5=lasta##esstime5> +n <5=lasta##essdate5> <5 end i7 5> <.$> </'+d4> </.tml>

Practical 15: Create a webpage which inc"udes an ad rotator component in the 7'8 page with at "east ! advertisements with weight age of ;0- !0 and 50. This ad rotator shou"d be p"aced on the top of the webpage.

E2$!3F EheadF EtitleFEGtitleF EGheadF EbodyF E> "et myadH"erver.*reateIbJect%K!"W*.Ad)otatorK& )esponse.write%myad.LetAdvertisement%Kad.txtK&& >F EGbodyF EG2$!3F Ad.txt REDIRECT $edi$-as% CIDTH K00 HEIGHT /00 "*RDER 0 G images-3%g .tt%>//,,,-g++gle-#+m All Einds +7 .+me l+ans 80 7l+,e$-3%g .tt%>//,,,-g++gle-#+m All Einds +7 %e$s+nal l+ans /0 7l+,e$8-3%g .tt%>//,,,-g++gle-#+m All Einds +7 #a$ l+ans 10

Practical 16: Create a webpage which inc"udes a content rotator in the 7'8 page with at "east ! different HTML content 5a picture- formatted te t- a h$per"in#6 with weight age of !2,.

<HTML> <.ead> <title></title> </.ead> <'+d4> <5 Set m4#+nt$+t=Se$ve$-C$eate*'3e#t: MSCC-C+ntentR+tat+$ < Res%+nse-,$ite:m4#+nt$+t-C.++seC+ntent: #+ntent-t9t << 5> </'+d4> </HTML>

C+ntent-t9t 55 L/ //=i$st line> <IMG SRC= 7l+,e$-3%g > <H8>Smile6 it is t.e Ee4 t.at 7its t.e l+#E +7 eve$4'+d4Ms .ea$t-</H8> 55 L1 //Se#+nd line <=*NT =ACE= M+n+t4%e C+$sive C*L*R= "l&e SINE=K> T.e s.+$test ,a4 t+ d+ all t.e t.ings is t+ d+ +ne t.ing at a time--</=*NT> 55 LO <=*NT =ACE= C+mi# Sans MS SINE=/> T.e 'est ,a4 t+ Eee% in t+&#. ,it. <A HRE== ,,,-7a#e'++E-#+m > 7$iends--</A></=*NT>

Practical 17: Create a webpage which has an opinion po"e of an$ topic of $our interest. The page shou"d disp"a$ the resu"ts of the opinion po"e in a tabu"ar form. The page shou"d a"so inc"ude a page counter component- which disp"a$s the number of time the webpage has been viewed.

<.tml> <HEAD> </.ead> <'+d4> <> <./>D+ 4+& liEe 3&nE 7++dP</H/> <=*RM NAME= =( ACTI*N= .tt%>QQ,,,-R > <in%&t t4%e= $adi+ name= $( val&e= 4es >4es <in%&t t4%e= $adi+ name= $( val&e= n+ >n+ <'$> <in%&t t4%e= s&'mit val&e= s&'mit v+te > </7+$m> <.8> #&$$ent v+te tall4></./> <ta'le> <t$> <td>2ES</TD> <td><5=m4#+&nt-GET: 4es#+&nte$ <5></TD> </TR> <t$> <td>N*</TD> <td><5=m4#+&nt-GET: n+#+&nte$ <5></TD> </TR>

</ta'le> <#ente$>T.is %age .as 'een vie,ed<5=m4#+&nt-get: %g#+&nte$ <5> </#ente$> <5vt=$eD&est-D&e$4st$ing: $( < i7 vt= 4es t.en m4#+&nt-in#$ement: 4es#+&nte$ < else m4#+&nt-in#$ement: n+#+&nte$ < end i7 5> </'+d4> </.tml>

Practical 18: Write an 7'8 program to read a te t fi"e and disp"a$ the content of the te t fi"e. 3t shou"d a"so count the number of "ines- the number of characters and the number of vowe"s in the fi"e.
<.tml> <'+d4> <H8> <5 dim #.6#+&nt #+&nt=0 set 7ile+'3=se$ve$-#$eate+'3e#t: s#$i%ting-7iles4stem+'3e#t < set m4+'3e#t=7ile+'3-+%ente9t7ile: C>Qinvi#t&s-t9t < d+ ,.ile m4+'3e#t-atend+7st$eam=7alse #.=m4+'3e#t-$ead:(< #+&nt=#+&nt?( l++% $es%+nse-,$ite: <"R>T.e t+tal n&m'e$ +7 #.a$a#te$s in 7ile a$e ;#+&nt< m4+'3e#t-#l+se 5> <"R><"R> <5 set m47ile=7ile+'3-+%ente9t7ile: C>Qinvi#t&s-t9t < ,.ile n+t m47ile-atend+7st$eam m47ile-$eadline line=line?( ,end $es%+nse-,$ite: <"R>T+tal n&m'e$ +7 lines a$e ;line< m47ile-#l+se 5> <"R><"R> <5 Dim a6' a=0 set m47ile=7ile+'3-+%ente9t7ile: C>Qinvi#t&s-t9t < ,.ile n+t m47ile-atend+7st$eam '=&#ase:m47ile-$ead:(<< Sele#t #ase ' #ase A 6 E 6 I 6 * 6 U a=a?( End Sele#t ,end $es%+nse-,$ite: T.e n&m'e$ +7 v+,els = ;a< m47ile-#l+se5> </'+d4> </.tml>

Practical 19: Write an 7'8 program to read a te t fi"e and disp"a$ the content of the te t fi"e after converting a"" the te t to uppercase and rep"acing a"" spaces with <.
<.tml> <'+d4> <5 dim #. set 7ile+'3=se$ve$-#$eate+'3e#t: s#$i%ting-7iles4stem+'3e#t < set m4+'3e#t=7ile+'3-+%ente9t7ile: C>Qinvi#t&s-t9t < d+ ,.ile m4+'3e#t-atend+7st$eam=7alse #.=&#ase:m4+'3e#t-$ead:(<< i7 #.= t.en $es%+nse-,$ite: L < else $es%+nse-,$ite:#.< end i7 l++% m4+'3e#t-#l+se 5> </'+d4> </.tml>

Practical 20: Create an access database ca""ed "ibrar$ with a tab"e named ca""ed boo#. 3t shou"d contain information "i#e boo# code- tit"e- price and author. Create an 7'8 fi"e to do the fo""owing/ 1. %isp"a$ the information in the boo# tab"e ;. 7dd a new record in the boo# tab"e !. %e"ete a record from boo# tab"e that matches the tit"e entered b$ the user. =. >iew the detai"s of a boo# with a particu"ar boo# code entered b$ the user and update the "atest changes made into it. 7dd
<HTML> <HEAD> <TITLE>A&esti+n 80</TITLE> <5 Dim +'3#+nn6 st$#+nn6 +'3$s Set +'3#+nn = Se$ve$-C$eate*'3e#t: AD*D"-C+nne#ti+n < st$#+nn= P$+vide$=Mi#$+s+7t-Set-*LED"-K-0J Data S+&$#e=C>QInet%&'Q,,,$++tQans,e$sQli'$a$4-md' +'3#+nn-+%en st$#+nn Set +'3$s = Se$ve$-C$eate*'3e#t: AD*D"-Re#+$dSet < +'3$s-+%en '++E 6+'3#+nn6868 +'3$S-m+velast #+de=+'3$s: '#+de < +'3$s-addne, +'3$s: '#+de <=#+de?( +'3$s: 'title <=ReD&est-=+$m: t9t( < +'3$s: %$i#e <=ReD&est-=+$m: t9t8 < +'3$s: a&t.+$ <=ReD&est-=+$m: t9t/ < +'3$s-&%date +'3$s-#l+se $es%+nse-$edi$e#t: data'ase-.tml < 5> </HEAD> </HTML>

%e"ete
<5 Dim +'3#+nn6 st$#+nn6 +'3$s6 s#+de s#+de=le7t:ReD&est-A&e$4st$ing: ID <6(<

Set +'3#+nn = Se$ve$-C$eate*'3e#t: AD*D"-C+nne#ti+n < st$#+nn= P$+vide$=Mi#$+s+7t-Set-*LED"-K-0J Data S+&$#e=C>QInet%&'Q,,,$++tQans,e$sQli'$a$4-md' +'3#+nn-+%en st$#+nn Set +'3$s = Se$ve$-C$eate*'3e#t: AD*D"-Re#+$dSet < +'3$s-+%en '++E 6+'3#+nn686/ C.ile n+t +'3$s-E*= i7 +'3$s: '#+de <=int:s#+de< t.en +'3$s-delete End i7 +'3$s-m+vene9t Cend +'3$s-#l+se $es%+nse-C$ite: Re#+$d deleted- < 5> <HTML> <"*D2> <"R><"R> <A HRE== data'ase-.tml >G* H*ME</A> </"*D2> </HTML>

Modif$
<5 Dim +'3#+nn6 st$#+nn6 +'3$s6 sea$#.#+de s#+de=ReD&est-=+$m: #+de < Set +'3#+nn = Se$ve$-C$eate*'3e#t: AD*D"-C+nne#ti+n < st$#+nn= P$+vide$=Mi#$+s+7t-Set-*LED"-K-0J Data S+&$#e=C>QInet%&'Q,,,$++tQans,e$sQli'$a$4-md' +'3#+nn-+%en st$#+nn Set +'3$s = Se$ve$-C$eate*'3e#t: AD*D"-Re#+$dSet < +'3$s-+%en '++E 6+'3#+nn6868 C.ile n+t +'3$s-E*= i7 +'3$s: '#+de <=int:s#+de< t.en +'3$s: 'title <=ReD&est-=+$m: t9t8 < +'3$s: %$i#e <=ReD&est-=+$m: t9t/ < +'3$s: a&t.+$ <=ReD&est-=+$m: t9tK < +'3$s-&%date Res%+nse-,$ite: Re#+$d &%dated- < End i7 +'3$s-m+vene9t Cend +'3$s-#l+se 5> <HTML> <"*D2> <"R><"R> <A HRE== data'ase-.tml >G* H*ME</A> </"*D2> </HTML>

%isp"a$
<HTML> <HEAD> <TITLE>ASP e9am%le</TITLE> </HEAD> <"*D2> <5 Dim +'3#+nn6 st$#+nn6 +'3$s Set +'3#+nn = Se$ve$-C$eate*'3e#t: AD*D"-C+nne#ti+n < st$#+nn= P$+vide$=Mi#$+s+7t-Set-*LED"-K-0J Data S+&$#e=C>QInet%&'Q,,,$++tQans,e$sQli'$a$4-md' +'3#+nn-+%en st$#+nn Set +'3$s = Se$ve$-C$eate*'3e#t: AD*D"-Re#+$dSet < +'3$s-+%en '++E 6+'3#+nn60 5> <TA"LE "*RDER=8 #ell%adding=(0 #ells%a#ing=1 'g#+l+$= silve$ > <TR> <TH>"**T C*DE</TD> <TH>TITLE</TD> <TH>PRICE</TD> <TH>AUTH*R</TD> </TR> <5 ,.ile n+t +'3$s-e+7 5> <TR> <TD ALIGN= CENTER ><5=:+'3$s: '#+de <<5></TD> <TD><5=:+'3$s: 'title <<5></TD> <TD><5=:+'3$s: %$i#e <<5></TD> <TD><5=:+'3$s: a&t.+$ <<5></TD> </TR> <5 +'3$s-m+vene9t ,end 5> </ta'le> </"*D2></HTML>

%ata 0ase

You might also like