You are on page 1of 49

A Project Report On TRANSDMINLIGHT

Developed By

Submitted To University of Mumbai Year !"#!$!"#%

CERTIFICATE
This is to certify that

Has Successfully Completed

project TransDminLight.

-----------------Project Guide: Date / / 2013

-------------Examiner: Date / /2013

--------------HOD: Date / /2013

A&'(O)*+D,+M+(T

The project on Web Design has given me an opportunity to acquire a better and advanced technological knowledge ! have collected a brief idea of the relative subject and am e"tremely glad to present it ! have on my own designed the website and have done all the programming and designing required for the same This is basically an informative site and it may require certain modifications in the future as per the user#s requirements !t may require time$to$time up gradation %rom the practical implementation point of view& %le"ibility in changes is incorporated in the package

-(D+.

Serial (o
1 2 3 4 ! " % ' ( 1, 11 12 13 14 1! 1" 1%

Topic
Introduction URL Of Site Technologies And Hardware Used Uploading ethods Uploading ethods #antt$hart Use case diagra& $lass diagra& )*ent ta+le Site &ap -user . Site &ap -ad&in. Screen La/out 0rogra&&ing $ode 1ata+ase 1esign aintenance And Up gradation Li&itations And 2uture )nhance&ent 3i+liograph/

Pa/e (o

-(TRODU&T-O(
'()'*S+
This site is developed for all those who want to search for the information about different product and to buy& within !ndia The 'urpose of the site is to inform people about ,TransDmi-ight. webside and where all people can buy any product in low price ,TransDmin-ight. is a leading destination for online shopping in !ndia& offering some of the best prices and a completely hassle$free e"perience with options of paying through Cash on Delivery& /ow shop for your favorite books& apparel& footwear& mobile phones& laptops& cameras& movies& music& health and beauty& televisions& refrigerators& air$conditioners& washing machines& 0'1 players and products from a host of other categories available Some of the top selling electronic brands on the website are Samsung& HTC& /okia& Dell& H'& Sony& Canon& /ikon& -2& Toshiba& 'hilips& 3raun& 3ajaj and 0orphy )ichards 3rowse through our cool lifestyle accessories& apparel and footwear brands featured on our site with e"pert descriptions to help you arrive at the right buying decision ,TransDmin-ight. also offers free home delivery for many of our products along with easy interest$free +0! options 4nd with the 15$ day replacement guarantee& you live with no regrets6 you can always e"change or cancel your order if you wish to 2et the best prices and the best online shopping e"perience every time& guaranteed

2*4*ur aim is to provide product with high quality service& and competitive pricing so you can 2et the best prices and the best online shopping e"perience every time& guaranteed This is the primitive goal of this site

UR* O0 S-T+

The site is proposed to be uploaded at

www4 transd&inlight4co&
This web address is currently not allocated %or testing purpose the current ()- of the site is http788localhost719:;8Departmental<=5Store8

T+&1O*O,-+S A(D 1ARD)AR+ US+D


Technology (sed
4mong the various topics included in Web Design and Technology syllabus& the following technologies have been incorporated in the development of this website

C>&4S' The whole website has been designed


using pure 4S'& C>

4S' ? C> These have been used for Connecting to


Database4

@avaScript @avaScript is used for validating %orms

Server
0icrosoft SA- Server 0anagement Studio +"press B 55 15C= 55 has been used to test and run the web pages

Database
0icrosoft SA- Server =55: Database has been used for storing the data

Drivers
0icrosoft SA- Server driver has been used to connect to the Database

'latform
The platform used was 0icrosoft Windows D4

UP*OAD-(, M+T1OD

! have planned to upload this site in the near future 0ost probably ! will upload this site on %T' 'rotocol The ()- of this site would be as mentioned below

www4transd&inlight4co&

,A(TT&1ART

6ul/

August

Septe&+er

Octo+er

7o*e&+er

1ece&+er

6anuar/

Re&ar5

0reli&inar/ In*estigation

Anal/sis

1esigning

$oding

I&ple&e ntation

Planned &ompleted

US+ &AS+

&*ASS D-A,RAM

+2+(T TAB*+
Event When user Enters When New user is created After User login Trigger New user Source User Activity Adding new user Edit its profile info New product is added to cart Fedback to admin Response registor_ta b registor_ta b, Destinatio n Admin

New user entry

User

Admin

Add product to cart Feedback of user

User

Cart details Admin

Afteruser login

User

Feedback

Admin

Event When admin enters When admin enters When admin enters When admin enters When admin enters When admin enters

Trigger Add category Add sub category Add product Adding country

Source Admin

Activity

Response

Destinatio n Admin

roduct is product added !ubcatego !ubcategor ry is y added roduct is added Country is added roduct

Admin

Admin

Admin

Admin

admin

Country

Admin

Adding state Adding city

Admin

!tate is added City is added

!tate

Admin

Admin

city

admin

S-T+MAP30OR US+R4 )+BS-D+ UR*

HOME

LOGIN

EGI!" #"ION

#$O%" %!

ON"#&"%!

HOME

EDI"P O'ILE

&H#NGEP#!!(O D 'EED$#&)

LOGO%"

S-T+MAP30OR ADM-(4 ADM-( *O,-( PA(+* UR*

HOME

LOGO%"

&#"EGO *

!%$&#"EGO *

P OD%&"

&O%N" *

!"#"E

&I"*

(E$ %!E

'EED$#&)

+.P+&T+D AUD-+(&+

This is basically just an dynamic site to help the people to know about the various product deatails and they can buy product from this website &all those interested in buying product&visit this site ! am confident enough to say that all those who will visit the site will definitely be benefited in some or other way !n general this site is open for all the users

1OM+

*o/in

R+,- STRAT-O(

ABOUT US

&O(TA&T US

+D-T PRO0-*+

&1A(,+ PASS)ORD

0++DBA&'

ADM-( *O,-(

ADM-( 1OM+

&AT+,ORY

SUB &AT+,ORY

PRODU&T

&OU(TRY

STAT+

&-TY

)+B US+R

0++DBA&'

PUR&1AS+D

&odin/ MAST+R PA,+

using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml.Linq; using System.Data.SqlClient; public partial class User User!asterPage " System.Web.UI.!asterPage # SqlConnection cn $ ne% SqlConnection&'; SqlComman( cm( $ ne% SqlComman(&'; SqlData)(apter (a $ ne% SqlData)(apter&'; DataSet (s $ ne% DataSet&'; SqlData*ea(er (r; mainClass + $ ne% mainClass&'; protecte( ,oi( Page Loa(&ob-ect sen(er. /,ent)rgs e' # if &0IsPost1ac2' # catagory&'; 3 3 public ,oi( catagory&' # 4ree5o(e tn6 $ ne% 4ree5o(e&'; 4ree7ie%6.5o(es.)((&tn6'; +.opencon&'; string str $ 8select catname from category %9ere status$68; (a $ ne% SqlData)(apter&str. +.cn'; (a.:ill&(s'; for &int i $ ;; i < (s.4ables=;>.*o%s.Count; i??' # 4ree5o(e tn $ ne% 4ree5o(e&(s.4ables=;>.*o%s=i> =;>.4oString&''; tn.7alue $ (s.4ables=;>.*o%s=i>=;>.4oString&'; 4ree7ie%6.5o(es.)((&tn'; 3 3 protecte( ,oi( Lin21utton@ Clic2&ob-ect sen(er. /,ent)rgs e' # 3 protecte( ,oi( 4ree7ie%6 Selecte(5o(eC9ange(&ob-ect sen(er. /,ent)rgs e' # string 2 $ Con,ert.4oString&4ree7ie%6.Selecte(7alue'; 4ree7ie%6.Selecte(5o(e.C9il(5o(es.Clear&'; if &4ree7ie%6.Selecte(5o(e.C9il(5o(es.Count $$ ;' # +.opencon&';

string str $ 8select subcati(.subcatname from subcategory %9ere status$6 an( cati($&select cati( from category %9ere catname$A8 ? 2 ? 8A'8; (a $ ne% SqlData)(apter&str. +.cn'; (a.:ill&(s'; for &int i $ ;; i < (s.4ables=;>.*o%s.Count; i??' # 4ree5o(e ct $ ne% 4ree5o(e&(s.4ables=;>.*o%s=i> =6>.4oString&''; ct.7alue $ (s.4ables=;>.*o%s=i>=;>.4oString&'; 4ree7ie%6.Selecte(5o(e.C9il(5o(es.)((&ct'; ct.5a,igateUrl $ 8DisplayPro(uct.asp+Bi($8 ? ct.7alue; 3 3 3 3

*O,-(

using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class login " System.Web.UI.Page # mainClass + $ ne% mainClass&'; public SqlConnection cn $ ne% SqlConnection&'; public SqlComman( cm( $ ne% SqlComman(&'; public SqlData)(apter (a $ ne% SqlData)(apter&'; public DataSet (s $ ne% DataSet&'; public SqlData*ea(er (r; protecte( ,oi( Page Loa(&ob-ect sen(er. /,ent)rgs e' # 3 protecte( ,oi( 1utton6 Clic2&ob-ect sen(er. /,ent)rgs e' # +.opencon&'; string str $ 8select C from registor tab %9ere email i( $ A8 ? name t+t.4e+t ? 8A an( pass$A8 ? pass t+t.4e+t ? 8A8; +.cm(.Comman(4e+t $ str; +.cm(.Connection $ +.cn; +.(r $ +.cm(./+ecute*ea(er&'; if &+.(r.Has*o%s' # Session=8email i(8> $ name t+t.4e+t; +.(r.Close&'; +.closecon&'; *esponse.*e(irect&8DEafter9ome.asp+8'; 3 else # Label@.7isible $ true; Label@.4e+t $ 8in,ali( 5ame or Pass%or(8; 3 +.(r.Close&'; +.closecon&'; 3 3

R+,-STRAT-O(

using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class login " System.Web.UI.Page # mainClass + $ ne% mainClass&'; public SqlConnection cn $ ne% SqlConnection&'; public SqlComman( cm( $ ne% SqlComman(&'; public SqlData)(apter (a $ ne% SqlData)(apter&'; public DataSet (s $ ne% DataSet&'; public SqlData*ea(er (r; protecte( ,oi( Page Loa(&ob-ect sen(er. /,ent)rgs e' # 3 protecte( ,oi( 1utton6 Clic2&ob-ect sen(er. /,ent)rgs e' # +.opencon&'; string str $ 8select C from registor tab %9ere email i( $ A8 ? name t+t.4e+t ? 8A an( pass$A8 ? pass t+t.4e+t ? 8A8; +.cm(.Comman(4e+t $ str; +.cm(.Connection $ +.cn; +.(r $ +.cm(./+ecute*ea(er&'; if &+.(r.Has*o%s' # Session=8email i(8> $ name t+t.4e+t; +.(r.Close&'; +.closecon&'; *esponse.*e(irect&8DEafter9ome.asp+8'; 3 else # Label@.7isible $ true; Label@.4e+t $ 8in,ali( 5ame or Pass%or(8; 3 +.(r.Close&'; +.closecon&'; 3 3

A0T+R *O,-( MAST+R

using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml.Linq; using System.Data.SqlClient; public partial class afterlog " System.Web.UI.!asterPage # public SqlConnection cn $ ne% SqlConnection&'; public SqlComman( cm( $ ne% SqlComman(&'; public SqlData)(apter (a $ ne% SqlData)(apter&'; public DataSet (s $ ne% DataSet&'; public SqlData*ea(er (r; mainClass + $ ne% mainClass&'; protecte( ,oi( Page Loa(&ob-ect sen(er. /,ent)rgs e' # if &0IsPost1ac2' # catagory&'; 3 Label6.4e+t $ 8Welcome 8 ? Session=8email i(8>.4oString&';

3 public ,oi( catagory&' # 4ree5o(e tn6 $ ne% 4ree5o(e&'; 4ree7ie%6.5o(es.)((&tn6'; +.opencon&'; string str $ 8select catname from category %9ere status$68; (a $ ne% SqlData)(apter&str. +.cn'; (a.:ill&(s'; for &int i $ ;; i < (s.4ables=;>.*o%s.Count; i??' # 4ree5o(e tn $ ne% 4ree5o(e&(s.4ables=;>.*o%s=i> =;>.4oString&''; tn.7alue $ (s.4ables=;>.*o%s=i>=;>.4oString&'; 4ree7ie%6.5o(es.)((&tn'; 3 3 protecte( ,oi( Lin21utton@ Clic2&ob-ect sen(er. /,ent)rgs e' # 3 protecte( ,oi( 4ree7ie%6 Selecte(5o(eC9ange(&ob-ect sen(er. /,ent)rgs e' # string 2 $ Con,ert.4oString&4ree7ie%6.Selecte(7alue'; 4ree7ie%6.Selecte(5o(e.C9il(5o(es.Clear&'; if &4ree7ie%6.Selecte(5o(e.C9il(5o(es.Count $$ ;' # +.opencon&';

string str $ 8select subcati(.subcatname from subcategory %9ere status$6 an( cati($&select cati( from category %9ere catname$A8 ? 2 ? 8A'8; (a $ ne% SqlData)(apter&str. +.cn'; (a.:ill&(s'; for &int i $ ;; i < (s.4ables=;>.*o%s.Count; i??' # 4ree5o(e ct $ ne% 4ree5o(e&(s.4ables=;>.*o%s=i> =6>.4oString&''; ct.7alue $ (s.4ables=;>.*o%s=i>=;>.4oString&'; 4ree7ie%6.Selecte(5o(e.C9il(5o(es.)((&ct'; ct.5a,igateUrl $ 8)fterLogDisplayPro(uct.asp+Bi($8 ? ct.7alue; 3 3 3 3

+D-T PRO0-*+

using using using using using using using using using using using using using

System; System.Collections; System.Configuration; System.Data; System.Linq; System.Web; System.Web.Security; System.Web.UI; System.Web.UI.HtmlControls; System.Web.UI.WebControls; System.Web.UI.WebControls.WebParts; System.Xml.Linq; System.Data.SqlClient;

public partial class afterlog " System.Web.UI.Page # mainClass + $ ne% mainClass&'; SqlComman( cm( $ ne% SqlComman(&'; string ei(; protecte( ,oi( Page Loa(&ob-ect sen(er. /,ent)rgs e' # ei( $ Session=8email i(8>.4oString&'; if &0IsPost1ac2' # +.opencon&'; string str $ 8select C from registor tab %9ere email i($A8 ? ei( ? 8A8; +.cm(.Comman(4e+t $ str; +.cm(.Connection $ +.cn; +.(r $ +.cm(./+ecute*ea(er&'; if &+.(r.Has*o%s' # %9ile &+.(r.*ea(&'' # if &+.(r=;>.4oString&' 0$ null' # email t+t.4e+t $ +.(r=;>.4oString&'; 3 if &+.(r=6>.4oString&' 0$ null' # name t+t.4e+t $ +.(r=6>.4oString&'; 3 if &+.(r=F>.4oString&' 0$ null' # a(( t+t.4e+t $ +.(r=F>.4oString&'; 3 if &+.(r=@>.4oString&' 0$ null' # EE city lbl.7isible $ true; city lbl.4e+t $ +.(r=@>.4oString&'; 3 if &+.(r=G>.4oString&' 0$ null' # EE state lbl.7isible $ true; state lbl.4e+t $ +.(r=G>.4oString&'; 3 if &+.(r=H>.4oString&' 0$ null' # EE country lbl.7isible$true;

country lbl.4e+t $ +.(r=H>.4oString&'; 3 if &+.(r=I>.4oString&' 0$ null' # mo t+t.4e+t $ +.(r=I>.4oString&'; 3 if &+.(r=J>.4oString&' 0$ null' # 9ome t+t.4e+t $ +.(r=J>.4oString&'; 3 if &+.(r=K>.4oString&' 0$ null' # gen(er lbl.4e+t $ +.(r=6;>.4oString&'; 3 3 3 +.(r.Close&'; +.closecon&'; 3 3 protecte( ,oi( 1utton6 Clic2&ob-ect sen(er. /,ent)rgs e' # +.opencon&'; string str@ $ 8select email i( from registor tab %9ere email i($A8 ? ei( ? 8A8; +.cm(.Comman(4e+t $ str@; +.cm(.Connection $ +.cn; +.(r $ +.cm(./+ecute*ea(er&'; if &+.(r.Has*o%s' # +.(r.Close&'; string strG $ 8up(ate registor tab set name $A8 ? name t+t.4e+t ? 8A.a((ress$A8 ? a(( t+t.4e+t ? 8A.p9one$A8 ? 9ome t+t.4e+t ? 8A.mobile$A8 ? mo t+t.4e+t ? 8A %9ere email i($A8 ? ei( ? 8A8; +.cm(.Comman(4e+t $ strG; +.cm(.Connection $ +.cn; +.cm(./+ecute5onLuery&'; lblprofile.7isible $ true; lblprofile.4e+t $ 8Profile Up(ate(8; 3 +.closecon&'; 3 3

&1A(,+ PASS)ORD

using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class c9angepass " System.Web.UI.Page # public SqlConnection cn $ ne% SqlConnection&'; public SqlComman( cm( $ ne% SqlComman(&'; public SqlData)(apter (a $ ne% SqlData)(apter&'; public DataSet (s $ ne% DataSet&'; public string str; public SqlData*ea(er (r; mainClass + $ ne% mainClass&'; string ei(; protecte( ,oi( Page Loa(&ob-ect sen(er. /,ent)rgs e' # ei( $ Session=8email i(8>.4oString&'; 3 protecte( ,oi( 1utton6 Clic2&ob-ect sen(er. /,ent)rgs e' # +.opencon&'; str $ 8select C from registor tab %9ere email i($A8 ? ei( ? 8A an( pass$A8?curr t+t.4e+t?8A8; +.cm(.Comman(4e+t $ str; +.cm(.Connection $ +.cn; +.(r $ +.cm(./+ecute*ea(er&'; if &+.(r.Has*o%s' # +.closecon&'; +.opencon&'; str $ 8up(ate registor tab set pass$A8 ? ne% t+t.4e+t ? 8A %9ere email i($A8 ? ei( ? 8A 8; +.cm(.Comman(4e+t $ str; +.cm(.Connection $ +.cn; +.cm(./+ecute5onLuery&'; +.closecon&'; LabelG.4e+t $ 8 pass%or( c9ange( 8; 3 else # LabelG.4e+t $ 8Ml( pass%or( (oes not matc9e(8; 3 3 3

0++DBA&'

using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class fee(bac2 " System.Web.UI.Page # mainClass + $ ne% mainClass&'; string str6. strF; protecte( ,oi( Page Loa(&ob-ect sen(er. /,ent)rgs e' # lblfee(bac2.7isible $ false; 3 protecte( ,oi( btnreset Clic2&ob-ect sen(er. /,ent)rgs e' # t+temaili(.4e+t $ 88; t+tfee(bac2.4e+t $ 88; t+tname.4e+t $ 88; t+tp9one.4e+t $ 88; 3 protecte( ,oi( 1utton6 Clic2&ob-ect sen(er. /,ent)rgs e' # +.opencon&'; str6 $ 8insert into fee(bac2 ,alues &A8?t+tname.4e+t?8A.A8?t+temaili(.4e+t?8A.A8?t+tp9one.4e+t?8A.A8?t+tfee( bac2.4e+t?8A'8; +.cm(.Comman(4e+t $ str6; +.cm(.Connection $ +.cn; +.cm(./+ecute5onLuery&'; lblfee(bac2.7isible $ true; +.closecon&'; t+temaili(.4e+t $ 88; t+tfee(bac2.4e+t $ 88; t+tname.4e+t $ 88; t+tp9one.4e+t $ 88; 3 3

*O,OUT
using System;

using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class logout " System.Web.UI.Page # mainClass + $ ne% mainClass&'; protecte( ,oi( Page Loa(&ob-ect sen(er. /,ent)rgs e' # *esponse.*e(irect&8login.asp+8'; 3

ADM-(
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class )(min a(min9ome " System.Web.UI.Page # protecte( ,oi( Page Loa(&ob-ect sen(er. /,ent)rgs e' # HyperLin26.7isible $ true; HyperLin2F.7isible $ true; HyperLin2@.7isible $ true; HyperLin2G.7isible $ true; HyperLin2H.7isible $ true; HyperLin2I.7isible $ true; 3

&AT+,ORY
using System; using System.Collections; using System.Configuration;

using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class )(min category " System.Web.UI.Page # mainClass + $ ne% mainClass&'; public SqlComman( cm( $ ne% SqlComman(&'; protecte( ,oi( Page Loa(&ob-ect sen(er. /,ent)rgs e' # t9is.:orm.Default1utton $ t9is.1utton6.UniqueID; 3 protecte( ,oi( 1utton6 Clic2&ob-ect sen(er. /,ent)rgs e' # +.opencon&'; string str $ 8insert into category ,alues&A8?catname t+t.4e+t ?8A.A8?(ec te+t.4e+t?8A.A8?status (rop cat.Selecte(7alue?8A'8; cm(.Comman(4e+t $ str; cm(.Connection $ +.cn; cm(./+ecute5onLuery&'; +.closecon&'; *esponse.*e(irect&8category.asp+8'; 3 3

using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class )(min subcategory " System.Web.UI.Page # mainClass + $ ne% mainClass&'; SqlConnection cn $ ne% SqlConnection&'; public SqlComman( cm( $ ne% SqlComman(&'; protecte( ,oi( Page Loa(&ob-ect sen(er. /,ent)rgs e' # if &0IsPost1ac2' # fillcategory&'; cate Drop.Items.Insert&;.8Select Category8'; 3 t9is.:orm.Default1utton $ t9is.1utton6.UniqueID; 3 protecte( ,oi( 1utton6 Clic2&ob-ect sen(er. /,ent)rgs e'

SUB &AT+,ORY

# if &cate Drop.Selecte(Item.4e+t./quals&8Select Category8'' # lblcat.7isible $ true; lblcat.4e+t $ 8:irst Select Category8; cate Drop.:ocus&'; 3 else # +.opencon&'; string str $ 8insert into subcategory ,alues&A8 ? cate Drop.Selecte(7alue ? 8A.A8 ? sub t+t.4e+t ? 8A.A8 ? (es t+t.4e+t ? 8A.A8 ? status (rop cat.Selecte(7alue ? 8A'8; cm(.Comman(4e+t $ str; cm(.Connection $ +.cn; cm(./+ecute5onLuery&'; +.closecon&'; *esponse.*e(irect&8subcategory.asp+8'; 3 3 public ,oi( fillcategory&' # +.opencon&'; cm( $ ne% SqlComman(&8select C from category8. +.cn'; cate Drop.DataSource $ cm(./+ecute*ea(er&'; cate Drop.Data4e+t:iel( $ 8catname8; cate Drop.Data7alue:iel( $ 8cati(8; cate Drop.Data1in(&'; +.closecon&'; 3 protecte( ,oi( Nri(7ie%6 Selecte(In(e+C9ange(&ob-ect sen(er. /,ent)rgs e' # 3 3

PRODU&T
using System; using System.Collections;

using using using using using using using using using using using

System.Configuration; System.Data; System.Linq; System.Web; System.Web.Security; System.Web.UI; System.Web.UI.HtmlControls; System.Web.UI.WebControls; System.Web.UI.WebControls.WebParts; System.Xml.Linq; System.Data.SqlClient;

public partial class )(min pro(uct " System.Web.UI.Page # public SqlComman( cm( $ ne% SqlComman(&'; public SqlConnection cn $ ne% SqlConnection&'; mainClass + $ ne% mainClass&'; protecte( ,oi( Page Loa(&ob-ect sen(er. /,ent)rgs e' # t9is.:orm.Default1utton $ t9is.1utton6.UniqueID; if &0IsPost1ac2' # fillcat&'; cat (rop.Items.Insert&;. 8Select Category8'; sub (rop.Items.Insert&;. 8Select Sub Category8'; 3 3 protecte( ,oi( 1utton6 Clic2&ob-ect sen(er. /,ent)rgs e' # if &cat (rop.Selecte(Item.4e+t./quals&8Select Category8'' # lblcat.7isible $ true; lblcat.4e+t $ 8:irst Select Category8; cat (rop.:ocus&'; 3 else if &sub (rop.Selecte(Item.4e+t./quals&8Select Sub Category8'' # lblsubcat.7isible $ true; lblsubcat.4e+t $ 8:irst Select Sub Category8; sub (rop.:ocus&'; 3 else # +.opencon&'; string str $ 8insert into pro(uct ,alues &A8 ? sub (rop.Selecte(7alue ? 8A.A8 ? proname t+t.4e+t ? 8A.A8 ? (ec t+t.4e+t ? 8A.A8 ? qty t+t.4e+t ? 8A.A8 ? rate t+t.4e+t ? 8A.A8 ? status (rop cat.Selecte(7alue ? 8A.A8 ? :ileUploa(6.:ile5ame ? 8A'8; cm(.Comman(4e+t $ str; cm(.Connection $ +.cn; cm(./+ecute5onLuery&'; if &:ileUploa(6.Has:ile' # string iname $ :ileUploa(6.:ile5ame; :ileUploa(6.Sa,e)s&Ser,er.!apPat9&8DEImageE8' ? iname'; Label6;.4e+t $ 8:ile Uploa( Successfully8; 3 else

# Label6;.4e+t $ 8:ile is *equire(8; 3 if &:ileUploa(F.Has:ile' # string ename $ :ileUploa(F.:ile5ame; :ileUploa(F.Sa,e)s&Ser,er.!apPat9&8DE/+tra :ilesE8' ? ename'; 3 else # EE Label6;.4e+t$ 8:ile Uploa(e( Successfully8;

3 3 public ,oi( fillsub&' # if &cat (rop.Selecte(Item.4e+t./quals&8Select Category8'' # sub (rop.Items.Clear&'; sub (rop.Items.Insert&;. 8Select Sub Category8'; 3 else # +.opencon&'; cm( $ ne% SqlComman(&8select C from subcategory %9ere cati($8 ? cat (rop.Selecte(7alue ? 88. +.cn'; sub (rop.DataSource $ cm(./+ecute*ea(er&'; sub (rop.Data4e+t:iel( $ 8subcatname8; sub (rop.Data7alue:iel( $ 8subcati(8; sub (rop.Data1in(&'; +.closecon&'; 3 3 public ,oi( fillcat&' # +.opencon&'; cm( $ ne% SqlComman(&8select C from category8. +.cn'; cat (rop.DataSource $ cm(./+ecute*ea(er&'; cat (rop.Data4e+t:iel( $ 8catname8; cat (rop.Data7alue:iel( $ 8cati(8; cat (rop.Data1in(&'; +.closecon&'; 3 protecte( ,oi( cat (rop Selecte(In(e+C9ange(&ob-ect sen(er. /,ent)rgs e' # fillsub&'; 3 protecte( ,oi( Nri(7ie%6 Selecte(In(e+C9ange(&ob-ect sen(er. /,ent)rgs e' # 3 3

Label6;.4e+t $ 8:ile is *equire(8; 3 +.closecon&'; *esponse.*e(irect&8pro(uct.asp+8';

&OU(TRY

using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class )(min country " System.Web.UI.Page # mainClass + $ ne% mainClass&'; public SqlComman( cm( $ ne% SqlComman(&'; protecte( ,oi( Page Loa(&ob-ect sen(er. /,ent)rgs e' # t9is.:orm.Default1utton $ t9is.1utton6.UniqueID; 3 protecte( ,oi( 1utton6 Clic2&ob-ect sen(er. /,ent)rgs e' # +.opencon&'; string str $ 8insert into country ,alues&A8 ? t+tcname.4e+t ? 8A'8; cm(.Comman(4e+t $ str; cm(.Connection $ +.cn; cm(./+ecute5onLuery&'; +.closecon&'; *esponse.*e(irect&8country.asp+8'; 3 protecte( ,oi( Nri(7ie%6 Selecte(In(e+C9ange(&ob-ect sen(er. /,ent)rgs e' # 3 3

STAT+
using System; using System.Collections; using System.Configuration;

using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class )(min state " System.Web.UI.Page # mainClass + $ ne% mainClass&'; public SqlComman( cm( $ ne% SqlComman(&'; protecte( ,oi( Page Loa(&ob-ect sen(er. /,ent)rgs e' # t9is.:orm.Default1utton $ t9is.1utton6.UniqueID; if &0IsPost1ac2' # fillcountry&'; 3 3 protecte( ,oi( 1utton6 Clic26&ob-ect sen(er. /,ent)rgs e' # +.opencon&'; string str $ 8insert into state ,alues &A8 ? country.Selecte(7alue ? 8A.A8 ? 4e+t1o+6.4e+t ? 8A'8; cm(.Comman(4e+t $ str; cm(.Connection $ +.cn; cm(./+ecute5onLuery&'; +.closecon&'; *esponse.*e(irect&8state.asp+8'; *esponse.*e(irect&8Nri(7ie%68'; 3 public ,oi( fillcountry&' # +.opencon&'; cm( $ ne% SqlComman(&8select C from country8. +.cn'; country.DataSource $ cm(./+ecute*ea(er&'; country.Data4e+t:iel( $ 8cname8; country.Data7alue:iel( $ 8ci(8; country.Data1in(&'; +.closecon&'; 3 protecte( ,oi( Nri(7ie%6 Selecte(In(e+C9ange(&ob-ect sen(er. /,ent)rgs e' # 3 3

using using using using using

System; System.Collections; System.Configuration; System.Data; System.Linq;

&-TY

using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class )(min city " System.Web.UI.Page # mainClass + $ ne% mainClass&'; SqlConnection cn $ ne% SqlConnection&'; public SqlComman( cm( $ ne% SqlComman(&'; protecte( ,oi( Page Loa(&ob-ect sen(er. /,ent)rgs e' # t9is.:orm.Default1utton $ t9is.1utton6.UniqueID; country.:ocus&'; if &0IsPost1ac2' # fillcontry&'; fillstate&'; 3 3 protecte( ,oi( 1utton6 Clic2&ob-ect sen(er. /,ent)rgs e' # +.opencon&'; string str $ 8insert into city &si(.cityname' ,alues&A8 ? state.Selecte(7alue ? 8A.A8 ? 4e+t1o+6.4e+t ? 8A'8; cm(.Comman(4e+t $ str; cm(.Connection $ +.cn; cm(./+ecute5onLuery&'; +.closecon&'; *esponse.*e(irect&8city.asp+8'; 3 public ,oi( fillcontry&' # country.Items.Clear&'; +.opencon&'; cm( $ ne% SqlComman(&8select C from country8. +.cn'; country.DataSource $ cm(./+ecute*ea(er&'; country.Data4e+t:iel( $ 8cname8; country.Data7alue:iel( $ 8ci(8; country.Data1in(&'; +.closecon&'; 3 public ,oi( fillstate&' # +.opencon&'; cm( $ ne% SqlComman(&8select C from state %9ere ci($A8 ? country.Selecte(7alue ? 8A8. +.cn'; state.DataSource $ cm(./+ecute*ea(er&'; state.Data4e+t:iel( $ 8sname8; state.Data7alue:iel( $ 8si(8; state.Data1in(&'; +.closecon&'; 3 protecte( ,oi( country Selecte(In(e+C9ange(6&ob-ect sen(er. /,ent)rgs e' # fillstate&'; 3

protecte( ,oi( Nri(7ie%6 Selecte(In(e+C9ange(&ob-ect sen(er. /,ent)rgs e' # 3 3

1ATA3AS)
A1 I78

$olu&n na&e Ad&inid Adna&e 0ass $AT)#OR98 catid catna&e description status

1ata t/pe Int $har-2,. $har-1,.

description Ad&in id Ad&in na&e Ad&in password

Int :archar-2!. :archar-2,. int

$ategor/ id $ategor/ na&e description Status 1 or ,

SU3 $AT)#OR98 su+catid catid su+catna&e su+dec status 0RO1U$T8 pid su+catid prona&e prodec <t/ rate status i&age $OU7TR98 cid cna&e $OU7TR98 Int :archar-!,. $ountr/ id $ountr/ na&e Int Int :archar-!,. :archar- A;. Int 2loat Int :archar-!,,. 0roduct id Su+categor/ id 0roduct na&e 0roduct description =uantit/ of product Rate of product Status , or 1 I&age na&e path Int Int :archar-!,. :archar-2,,. Int Su+categor/ id $ategor/ id Su+categor/ na&e 1escription Status 1 or ,

sid cid sna&e A11 TO $ART8 id pid una&e rate prona&e <t/ $ART 8 cartid e&ail?id pid su+catid price <t/ i&age

Int Int :archar-1,,.

State id $ountr/ id State na&e

Int Int :archar-!,. 7e&eric-1'>3. :archar-!,. int

Id 0roduct id User na&e Rate of product 0roduct na&e =uantit/ of product

Int :archar-!,. int Int 7u&eric-1'>,. 7u&eric-1'>,. :archar-!,.

$art id )&ail address 0roduct id Su+categoru address 0rice pf product =uantit/ of product I&age path na&e

$ART 1)TAIL 8 cartdid )&ai?id a&ount tot<t/ 2))13A$@ 8 na&e e&ail nu&+er feed+ac5 R)#IST)R 8 :archar-!,. :archar-!,. 7u&eric-1'>,. :atchar- A;. 7a&e of user )&ail add of user 0hone nu&+er of user 2eed+ac5 of user Int :archar-!,. 7u&eric-1'>,. int $art detail id )&ail id A&ount of product Total <uantit/

e&ail?id na&e address cit/id sid cid &o+ile phone do+ pass gender SHI00I7# 8

:archar-!,. :archar-!,. :archar-!,,. Int Int Int :archar- A;. :archar-!,,. :archar-!,. :archar-!,. :archar-!.

)&ail address 7a&e of user Address of user $it/ id State id $ountr/ id o+ile nu&+er 0hone nu&+aer 1ate of +irth 0assword #ender of user

shipid e&ailid una&e address state cit/ phoneno shipdate

int :archar-!,. :archar-!,. :archar-!,. :archar-!,. :archar-!,. :archar-!,. 1ateti&e

Shipping id )&ail address of user User na&e Address State na&e $it/ na&e 0hone nu&+er Shipping date

0acilities Provided
7o eAtra facilities as search ha*e +een gi*en4

Maintenance and up /radation


The site will +e &aintained and upgraded e*er/ &onth with new contents on the page> new infor&ation and lin5s will also +e added4

*imitations and 0uture +n5ancements


The &ain li&itation of the site is that no search engine has +een used4 I will tr/ &/ +est to pro*ide a search engine to the site4 The site is presenta+le +ut needs to +e &ore attracti*e4 )fforts will +e &ade to &a5e the site &ore attracti*e and presenta+le6

Biblio/rap5y
Reference boo7s

14 Be+ 1esign the co&plete reference 8 T5omas Po9ell


24 Using HT L4> ; L> and 6A:A 142 8 +ric *add and :im O;Donnell 34 AS047)T ? Danny and Tommy Ryan 44 AS047)T
_

Mridula Pari5ar

You might also like