tr and min light
TRANSCRIPT
-
8/12/2019 Tr and Min Light
1/49
A
Project Report
On
TRANSDMINLIGHT
Developed By
Submitted To
University of Mumbai
Year !"#!$!"#%
-
8/12/2019 Tr and Min Light
2/49
CERTIFICATE
This is to certify that
Has Successfully Completed
projectTrans minLight.
------------------ -------------- ---------------
Project Guide: Examiner: HOD:
Date / / 2013 Date / /2013 Date / /2013
-
8/12/2019 Tr and Min Light
3/49
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
-
8/12/2019 Tr and Min Light
4/49
-(D+.
Serial (o Topic Pa/e (o
1 Introduction
2 URL Of Site3 Technologies And Hardware Used
4 Uploading ethods
! Uploading ethods
" #antt$hart
% Use case diagra&
' $lass diagra&
( )*ent ta+le
1, Site &ap -user .11 Site &ap -ad&in.
12 Screen La/out
13 0rogra&&ing $ode
14 ata+ase esign
1! aintenance And Up gradation
1" Li&itations And uture )nhance&ent
1% i+liograph/
-
8/12/2019 Tr and Min Light
5/49
-(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 topselling 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
-
8/12/2019 Tr and Min Light
6/49
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
www transd&inlightco&
This web address is currently not allocated%or testing purpose the current ()- of the site is
http788localhost719:;8Departmental
-
8/12/2019 Tr and Min Light
7/49
T+&1O*O,-+S A(D 1ARD)AR+ US+D
Technology (sed4mong 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 designedusing pure 4S'& C>
4S' ? C> These have been used for Connecting toDatabase
@avaScript @avaScript is used for validating %orms
Server0icrosoft SA- Server 0anagement Studio +"press B5515=55has been used to test and run the web pages
Database0icrosoft SA- Server =55: Database has been used for storing thedata
Drivers0icrosoft SA- Server driver has been used to connect to theDatabase
'latform
The platform used was 0icrosoft Windows
-
8/12/2019 Tr and Min Light
8/49
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
wwwtransd&inlightco&
http://www.transdminlight.com/http://www.transdminlight.com/ -
8/12/2019 Tr and Min Light
9/49
,A(TT&1ART
Re&ar56ul/ August Septe&+er Octo+er 7o*e&+er ece&+er 6anuar/
Anal/sis
0reli&inar/In*estigation
esigning
$oding
I&ple&e
ntation
Planned
&ompleted
-
8/12/2019 Tr and Min Light
10/49
US+ &AS+
-
8/12/2019 Tr and Min Light
11/49
&*ASS D-A,RAM
-
8/12/2019 Tr and Min Light
12/49
+2+(T TAB*+
Event Trigger Source Activity Response Destinatio
n
WhenuserEnters
New user User Addingnew user
registor_tab
Admin
WhenNew user
is created
New userentry
User Edit itsprofile
info
registor_tab,
Admin
After Userlogin
Addproduct tocart
User Newproduct isadded tocart
Cart details Admin
Afteruserlogin
Feedbackof user
User Fedbackto admin
Feedback Admin
-
8/12/2019 Tr and Min Light
13/49
Event Trigger Source Activity Response Destinatio
n
Whenadminenters
Addcategory
Admin roduct isadded
product Admin
Whenadminenters
Add subcategory
Admin !ubcategory isadded
!ubcategory
Admin
Whenadmin
enters
Addproduct
Admin roduct isadded
roduct Admin
Whenadminenters
Addingcountry
admin Countryis added
Country Admin
Whenadminenters
Addingstate
Admin !tate isadded
!tate Admin
Whenadminenters
Addingcity
Admin City isadded
city admin
-
8/12/2019 Tr and Min Light
14/49
S-T+MAP30OR US+R4
)+BS-D+ UR*
HOME LOGIN EGI!"#"ION #$O%" %! ON"#&"%!
HOME EDI"PO'ILE &H#NGEP#!!(OD 'EED$#&) LOGO%"
-
8/12/2019 Tr and Min Light
15/49
S-T+MAP30OR ADM-(4
ADM-( *O,-( PA(+* UR*
HOME LOGO%"
"EGO* !%$"EGO* POD%&" &O%N"* !"#"E
&I"* (E$ %!E 'EED$#&)
-
8/12/2019 Tr and Min Light
16/49
+.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
-
8/12/2019 Tr and Min Light
17/49
1OM+
*o/in
-
8/12/2019 Tr and Min Light
18/49
R+,- STRAT-O(
ABOUT US
&O(TA&T US
-
8/12/2019 Tr and Min Light
19/49
+D-T PRO0-*+
&1A(,+ PASS)ORD
-
8/12/2019 Tr and Min Light
20/49
0++DBA&'
ADM-( *O,-(
-
8/12/2019 Tr and Min Light
21/49
ADM-( 1OM+
&AT+,ORY
-
8/12/2019 Tr and Min Light
22/49
SUB &AT+,ORY
PRODU&T
-
8/12/2019 Tr and Min Light
23/49
&OU(TRY
STAT+
-
8/12/2019 Tr and Min Light
24/49
&-TY
)+B US+R
0++DBA&'
-
8/12/2019 Tr and Min Light
25/49
PUR&1AS+D
&odin/
MAST+R PA,+
-
8/12/2019 Tr and Min Light
26/49
usingSystem;usingSystem.Collections;usingSystem.Configuration;
usingSystem.Data;usingSystem.Linq;usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.WebControls;usingSystem.Web.UI.WebControls.WebParts;usingSystem.Web.UI.HtmlControls;usingSystem.Xml.Linq;usingSystem.Data.SqlClient;publicpartialclassUserUser!asterPage" System.Web.UI.!asterPage# SqlConnectioncn $ 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(PageLoa(&ob-ectsen(er /,ent)rgse' # if&0IsPost1ac2' # catagory&'; 3 3 public,oi(catagory&' # 4ree5o(etn6 $ ne%4ree5o(e&'; 4ree7ie%6.5o(es.)((&tn6'; +.opencon&'; stringstr $ 8select catname from category %9ere status$68; (a $ ne%SqlData)(apter&str +.cn'; (a.:ill&(s'; for&inti $ ; i < (s.4ables=>.*o%s.Count; i??' # 4ree5o(etn $ 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-ectsen(er /,ent)rgse' #
3 protecte(,oi(4ree7ie%6Selecte(5o(eC9ange(&ob-ectsen(er/,ent)rgse' # string2 $ 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&';
-
8/12/2019 Tr and Min Light
27/49
stringstr $ 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&inti $ ; i < (s.4ables=>.*o%s.Count; i??'
# 4ree5o(ect $ 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 33
*O,-(
-
8/12/2019 Tr and Min Light
28/49
usingSystem;usingSystem.Collections;usingSystem.Configuration;usingSystem.Data;usingSystem.Linq;
usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.HtmlControls;usingSystem.Web.UI.WebControls;usingSystem.Web.UI.WebControls.WebParts;usingSystem.Xml.Linq;usingSystem.Data.SqlClient;publicpartialclasslogin" System.Web.UI.Page# mainClass+ $ ne%mainClass&'; publicSqlConnectioncn $ ne%SqlConnection&'; publicSqlComman(cm( $ ne%SqlComman(&';
publicSqlData)(apter(a $ ne%SqlData)(apter&'; publicDataSet(s $ ne%DataSet&'; publicSqlData*ea(er(r;
protecte(,oi(PageLoa(&ob-ectsen(er /,ent)rgse' #
3 protecte(,oi(1utton6Clic2&ob-ectsen(er /,ent)rgse' # +.opencon&'; stringstr $ 8select from registortab %9ere emaili( $ A8?namet+t.4e+t ? 8A an( pass$A8? passt+t.4e+t ? 8A8;
+.cm(.Comman(4e+t $ str; +.cm(.Connection $ +.cn; +.(r $ +.cm(./+ecute*ea(er&'; if&+.(r.Has*o%s' # Session=8emaili(8> $ namet+t.4e+t; +.(r.Close&'; +.closecon&'; *esponse.*e(irect&8Eafter9ome.asp+8'; 3 else # [email protected] $ true;
[email protected]+t $ 8in,ali( 5ame or Pass%or(8; 3 +.(r.Close&'; +.closecon&';
33
R+,-STRAT-O(
-
8/12/2019 Tr and Min Light
29/49
usingSystem;usingSystem.Collections;usingSystem.Configuration;usingSystem.Data;usingSystem.Linq;usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.HtmlControls;usingSystem.Web.UI.WebControls;usingSystem.Web.UI.WebControls.WebParts;usingSystem.Xml.Linq;usingSystem.Data.SqlClient;publicpartialclasslogin" System.Web.UI.Page# mainClass+ $ ne%mainClass&'; publicSqlConnectioncn $ ne%SqlConnection&'; publicSqlComman(cm( $ ne%SqlComman(&'; publicSqlData)(apter(a $ ne%SqlData)(apter&'; publicDataSet(s $ ne%DataSet&'; publicSqlData*ea(er(r;
protecte(,oi(PageLoa(&ob-ectsen(er /,ent)rgse' #
3 protecte(,oi(1utton6Clic2&ob-ectsen(er /,ent)rgse' # +.opencon&'; stringstr $ 8select from registortab %9ere emaili( $ A8?namet+t.4e+t ? 8A an( pass$A8? passt+t.4e+t ? 8A8; +.cm(.Comman(4e+t $ str; +.cm(.Connection $ +.cn; +.(r $ +.cm(./+ecute*ea(er&'; if&+.(r.Has*o%s' # Session=8emaili(8> $ namet+t.4e+t; +.(r.Close&'; +.closecon&'; *esponse.*e(irect&8Eafter9ome.asp+8'; 3 else # [email protected] $ true;
[email protected]+t $ 8in,ali( 5ame or Pass%or(8; 3 +.(r.Close&'; +.closecon&';
33
A0T+R *O,-( MAST+R
-
8/12/2019 Tr and Min Light
30/49
usingSystem;usingSystem.Collections;usingSystem.Configuration;usingSystem.Data;usingSystem.Linq;
usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.WebControls;usingSystem.Web.UI.WebControls.WebParts;usingSystem.Web.UI.HtmlControls;usingSystem.Xml.Linq;usingSystem.Data.SqlClient;publicpartialclassafterlog" System.Web.UI.!asterPage# publicSqlConnectioncn $ ne%SqlConnection&'; publicSqlComman(cm( $ ne%SqlComman(&'; publicSqlData)(apter(a $ ne%SqlData)(apter&';
publicDataSet(s $ ne%DataSet&'; publicSqlData*ea(er(r; mainClass+ $ ne%mainClass&'; protecte(,oi(PageLoa(&ob-ectsen(er /,ent)rgse' # if&0IsPost1ac2' # catagory&'; 3
Label6.4e+t $ 8Welcome 8? Session=8emaili(8>.4oString&';
3 public,oi(catagory&' # 4ree5o(etn6 $ ne%4ree5o(e&'; 4ree7ie%6.5o(es.)((&tn6'; +.opencon&'; stringstr $ 8select catname from category %9ere status$68; (a $ ne%SqlData)(apter&str +.cn'; (a.:ill&(s'; for&inti $ ; i < (s.4ables=>.*o%s.Count; i??' # 4ree5o(etn $ 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-ectsen(er /,ent)rgse' #
3 protecte(,oi(4ree7ie%6Selecte(5o(eC9ange(&ob-ectsen(er/,ent)rgse' # string2 $ 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&';
-
8/12/2019 Tr and Min Light
31/49
stringstr $ 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&inti $ ; i < (s.4ables=>.*o%s.Count; i??'
# 4ree5o(ect $ 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 33
+D-T PRO0-*+
-
8/12/2019 Tr and Min Light
32/49
usingSystem;usingSystem.Collections;usingSystem.Configuration;usingSystem.Data;
usingSystem.Linq;usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.HtmlControls;usingSystem.Web.UI.WebControls;usingSystem.Web.UI.WebControls.WebParts;usingSystem.Xml.Linq;usingSystem.Data.SqlClient;
publicpartialclassafterlog" System.Web.UI.Page# mainClass+ $ ne%mainClass&';
SqlComman(cm( $ ne%SqlComman(&'; stringei(; protecte(,oi(PageLoa(&ob-ectsen(er /,ent)rgse' # ei( $ Session=8emaili(8>.4oString&'; if&0IsPost1ac2' # +.opencon&'; stringstr $ 8select from registortab %9ere emaili($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' # emailt+t.4e+t $ +.(r=>.4oString&'; 3 if&+.(r=6>.4oString&' 0$ null' # namet+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 citylbl.7isible $ true; citylbl.4e+t $ +.(r=@>.4oString&'; 3 if&+.(r=G>.4oString&' 0$ null' # EE statelbl.7isible $ true; statelbl.4e+t $ +.(r=G>.4oString&'; 3 if&+.(r=>.4oString&' 0$ null' # EE countrylbl.7isible$true;
-
8/12/2019 Tr and Min Light
33/49
countrylbl.4e+t $ +.(r=>.4oString&'; 3 if&+.(r=>.4oString&' 0$ null' # mot+t.4e+t $ +.(r=>.4oString&'; 3
if&+.(r=J>.4oString&' 0$ null' # 9omet+t.4e+t $ +.(r=J>.4oString&'; 3
if&+.(r=K>.4oString&' 0$ null' # gen(erlbl.4e+t $ +.(r=6>.4oString&'; 3 3 3 +.(r.Close&'; +.closecon&';
3
3 protecte(,oi(1utton6Clic2&ob-ectsen(er /,ent)rgse' # +.opencon&'; stringstr@ $ 8select emaili( from registortab %9ereemaili($A8? ei( ? 8A8; +.cm(.Comman(4e+t $ str@; +.cm(.Connection $ +.cn; +.(r $ +.cm(./+ecute*ea(er&';
if&+.(r.Has*o%s' # +.(r.Close&'; stringstrG $ 8up(ate registortab set name $A8?namet+t.4e+t ? 8Aa((ress$A8? a((t+t.4e+t ? 8Ap9one$A8?9omet+t.4e+t ? 8Amobile$A8? mot+t.4e+t ? 8A %9ere emaili($A8? ei(? 8A8; +.cm(.Comman(4e+t $ strG; +.cm(.Connection $ +.cn; +.cm(./+ecute5onuery&'; lblprofile.7isible $ true; lblprofile.4e+t $ 8Profile Up(ate(8; 3 +.closecon&'; 33
&1A(,+ PASS)ORD
-
8/12/2019 Tr and Min Light
34/49
usingSystem;usingSystem.Collections;usingSystem.Configuration;usingSystem.Data;usingSystem.Linq;
usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.HtmlControls;usingSystem.Web.UI.WebControls;usingSystem.Web.UI.WebControls.WebParts;usingSystem.Xml.Linq;usingSystem.Data.SqlClient;publicpartialclassc9angepass" System.Web.UI.Page# publicSqlConnectioncn $ ne%SqlConnection&'; publicSqlComman(cm( $ ne%SqlComman(&'; publicSqlData)(apter(a $ ne%SqlData)(apter&';
publicDataSet(s $ ne%DataSet&'; publicstringstr; publicSqlData*ea(er(r; mainClass+ $ ne%mainClass&'; stringei(; protecte(,oi(PageLoa(&ob-ectsen(er /,ent)rgse' #
ei( $ Session=8emaili(8>.4oString&';
3 protecte(,oi(1utton6Clic2&ob-ectsen(er /,ent)rgse'
# +.opencon&'; str $ 8select from registortab %9ere emaili($A8? ei( ? 8Aan( pass$A8?currt+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 registortab set pass$A8? ne%t+t.4e+t ? 8A%9ere emaili($A8? ei( ? 8A 8;
+.cm(.Comman(4e+t $ str; +.cm(.Connection $ +.cn; +.cm(./+ecute5onuery&'; +.closecon&'; LabelG.4e+t $ 8 pass%or( c9ange( 8; 3 else # LabelG.4e+t $ 8Ml( pass%or( (oes not matc9e(8; 3 33
0++DBA&'
-
8/12/2019 Tr and Min Light
35/49
usingSystem;usingSystem.Collections;usingSystem.Configuration;usingSystem.Data;usingSystem.Linq;usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.HtmlControls;usingSystem.Web.UI.WebControls;usingSystem.Web.UI.WebControls.WebParts;usingSystem.Xml.Linq;usingSystem.Data.SqlClient;publicpartialclassfee(bac2" System.Web.UI.Page# mainClass+ $ ne%mainClass&'; stringstr6 strF; protecte(,oi(PageLoa(&ob-ectsen(er /,ent)rgse' # lblfee(bac2.7isible $ false; 3
protecte(,oi(btnresetClic2&ob-ectsen(er /,ent)rgse' # t+temaili(.4e+t $ 88; t+tfee(bac2.4e+t $ 88; t+tname.4e+t $ 88; t+tp9one.4e+t $ 88; 3 protecte(,oi(1utton6Clic2&ob-ectsen(er /,ent)rgse' # +.opencon&'; str6 $ 8insert into fee(bac2 ,alues&A8?t+tname.4e+t?8AA8?t+temaili(.4e+t?8AA8?t+tp9one.4e+t?8AA8?t+tfee(bac2.4e+t?8A'8; +.cm(.Comman(4e+t $ str6; +.cm(.Connection $ +.cn; +.cm(./+ecute5onuery&'; 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;
33
*O,OUT
usingSystem;
-
8/12/2019 Tr and Min Light
36/49
usingSystem.Collections;usingSystem.Configuration;usingSystem.Data;usingSystem.Linq;usingSystem.Web;usingSystem.Web.Security;
usingSystem.Web.UI;usingSystem.Web.UI.HtmlControls;usingSystem.Web.UI.WebControls;usingSystem.Web.UI.WebControls.WebParts;usingSystem.Xml.Linq;usingSystem.Data.SqlClient;publicpartialclasslogout" System.Web.UI.Page# mainClass+ $ ne%mainClass&';
protecte(,oi(PageLoa(&ob-ectsen(er /,ent)rgse' # *esponse.*e(irect&8login.asp+8';
33
ADM-(
usingSystem;usingSystem.Collections;usingSystem.Configuration;usingSystem.Data;usingSystem.Linq;
usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.HtmlControls;usingSystem.Web.UI.WebControls;usingSystem.Web.UI.WebControls.WebParts;usingSystem.Xml.Linq;usingSystem.Data.SqlClient;publicpartialclass)(mina(min9ome" System.Web.UI.Page#
protecte(,oi(PageLoa(&ob-ectsen(er /,ent)rgse' # HyperLin26.7isible $ true; HyperLin2F.7isible $ true; [email protected] $ true; HyperLin2G.7isible $ true; HyperLin2.7isible $ true; HyperLin2.7isible $ true; 33
&AT+,ORYusingSystem;usingSystem.Collections;usingSystem.Configuration;
-
8/12/2019 Tr and Min Light
37/49
usingSystem.Data;usingSystem.Linq;usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.HtmlControls;
usingSystem.Web.UI.WebControls;usingSystem.Web.UI.WebControls.WebParts;usingSystem.Xml.Linq;usingSystem.Data.SqlClient;publicpartialclass)(mincategory" System.Web.UI.Page# mainClass+ $ ne%mainClass&'; publicSqlComman(cm( $ ne%SqlComman(&';
protecte(,oi(PageLoa(&ob-ectsen(er /,ent)rgse' # t9is.:orm.Default1utton $ t9is.1utton6.UniqueID;
3 protecte(,oi(1utton6Clic2&ob-ectsen(er /,ent)rgse'
# +.opencon&'; stringstr $ 8insert into category ,alues&A8?catnamet+t.4e+t?8AA8?(ecte+t.4e+t?8AA8?status(ropcat.Selecte(7alue? 8A'8; cm(.Comman(4e+t $ str; cm(.Connection $ +.cn; cm(./+ecute5onuery&'; +.closecon&'; *esponse.*e(irect&8category.asp+8'; 33
SUB &AT+,ORYusingSystem;usingSystem.Collections;usingSystem.Configuration;usingSystem.Data;usingSystem.Linq;usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.HtmlControls;usingSystem.Web.UI.WebControls;usingSystem.Web.UI.WebControls.WebParts;usingSystem.Xml.Linq;usingSystem.Data.SqlClient;publicpartialclass)(minsubcategory" System.Web.UI.Page# mainClass+ $ ne%mainClass&'; SqlConnectioncn $ ne%SqlConnection&'; publicSqlComman(cm( $ ne%SqlComman(&'; protecte(,oi(PageLoa(&ob-ectsen(er /,ent)rgse' # if&0IsPost1ac2' # fillcategory&'; cateDrop.Items.Insert&8Select Category8'; 3 t9is.:orm.Default1utton $ t9is.1utton6.UniqueID; 3 protecte(,oi(1utton6Clic2&ob-ectsen(er /,ent)rgse'
-
8/12/2019 Tr and Min Light
38/49
# if &cateDrop.Selecte(Item.4e+t./quals&8Select Category8'' # lblcat.7isible $ true; lblcat.4e+t $ 8:irst Select Category8; cateDrop.:ocus&';
3 else # +.opencon&'; stringstr $ 8insert into subcategory ,alues&A8?cateDrop.Selecte(7alue ? 8AA8? subt+t.4e+t ? 8AA8? (est+t.4e+t ?8AA8? status(ropcat.Selecte(7alue ? 8A'8; cm(.Comman(4e+t $ str; cm(.Connection $ +.cn; cm(./+ecute5onuery&'; +.closecon&'; *esponse.*e(irect&8subcategory.asp+8'; 3
3 public,oi(fillcategory&' # +.opencon&'; cm( $ ne%SqlComman(&8select from category8 +.cn'; cateDrop.DataSource $ cm(./+ecute*ea(er&'; cateDrop.Data4e+t:iel( $ 8catname8; cateDrop.Data7alue:iel( $ 8cati(8; cateDrop.Data1in(&'; +.closecon&'; 3 protecte(,oi(Nri(7ie%6Selecte(In(e+C9ange(&ob-ectsen(er/,ent)rgse' #
33
PRODU&T
usingSystem;usingSystem.Collections;
-
8/12/2019 Tr and Min Light
39/49
usingSystem.Configuration;usingSystem.Data;usingSystem.Linq;usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;
usingSystem.Web.UI.HtmlControls;usingSystem.Web.UI.WebControls;usingSystem.Web.UI.WebControls.WebParts;usingSystem.Xml.Linq;usingSystem.Data.SqlClient;
publicpartialclass)(minpro(uct" System.Web.UI.Page# publicSqlComman(cm( $ ne%SqlComman(&'; public SqlConnectioncn $ ne%SqlConnection&'; mainClass+ $ ne%mainClass&';
protecte(,oi(PageLoa(&ob-ectsen(er /,ent)rgse' # 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(1utton6Clic2&ob-ectsen(er /,ent)rgse' # if &cat(rop.Selecte(Item.4e+t./quals&8Select Category8'' # lblcat.7isible $ true; lblcat.4e+t $ 8:irst Select Category8; cat(rop.:ocus&'; 3 elseif &sub(rop.Selecte(Item.4e+t./quals&8Select SubCategory8'' # lblsubcat.7isible $ true; lblsubcat.4e+t $ 8:irst Select Sub Category8; sub(rop.:ocus&'; 3 else # +.opencon&'; stringstr $ 8insert into pro(uct ,alues &A8?sub(rop.Selecte(7alue ? 8AA8? pronamet+t.4e+t ? 8AA8? (ect+t.4e+t? 8AA8? qtyt+t.4e+t ? 8AA8? ratet+t.4e+t ? 8AA8?status(ropcat.Selecte(7alue ? 8AA8? :ileUploa(6.:ile5ame ? 8A'8; cm(.Comman(4e+t $ str; cm(.Connection $ +.cn; cm(./+ecute5onuery&'; if&:ileUploa(6.Has:ile' # stringiname $ :ileUploa(6.:ile5ame; :ileUploa(6.Sa,e)s&Ser,er.!apPat9&8EImageE8' ? iname'; Label6.4e+t $ 8:ile Uploa( Successfully8; 3 else
-
8/12/2019 Tr and Min Light
40/49
# Label6.4e+t $ 8:ile is *equire(8; 3 if&:ileUploa(F.Has:ile' # stringename $ :ileUploa(F.:ile5ame;
:ileUploa(F.Sa,e)s&Ser,er.!apPat9&8E/+tra:ilesE8' ?ename'; EE Label6.4e+t$ 8:ile Uploa(e( Successfully8; 3 else # Label6.4e+t $ 8:ile is *equire(8; 3 +.closecon&'; *esponse.*e(irect&8pro(uct.asp+8'; 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 from subcategory %9erecati($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 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(ropSelecte(In(e+C9ange(&ob-ectsen(er/,ent)rgse' # fillsub&'; 3 protecte(,oi(Nri(7ie%6Selecte(In(e+C9ange(&ob-ectsen(er/,ent)rgse' #
33
-
8/12/2019 Tr and Min Light
41/49
&OU(TRY
usingSystem;usingSystem.Collections;usingSystem.Configuration;usingSystem.Data;usingSystem.Linq;usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.HtmlControls;usingSystem.Web.UI.WebControls;usingSystem.Web.UI.WebControls.WebParts;usingSystem.Xml.Linq;usingSystem.Data.SqlClient;publicpartialclass)(mincountry" System.Web.UI.Page# mainClass+ $ ne%mainClass&'; publicSqlComman(cm( $ ne%SqlComman(&'; protecte(,oi(PageLoa(&ob-ectsen(er /,ent)rgse' # t9is.:orm.Default1utton $ t9is.1utton6.UniqueID;
3 protecte(,oi(1utton6Clic2&ob-ectsen(er /,ent)rgse' # +.opencon&'; stringstr $ 8insert into country ,alues&A8? t+tcname.4e+t ?8A'8; cm(.Comman(4e+t $ str; cm(.Connection $ +.cn; cm(./+ecute5onuery&'; +.closecon&'; *esponse.*e(irect&8country.asp+8';
3 protecte(,oi(Nri(7ie%6Selecte(In(e+C9ange(&ob-ectsen(er/,ent)rgse' #
33
STAT+
usingSystem;usingSystem.Collections;usingSystem.Configuration;
-
8/12/2019 Tr and Min Light
42/49
usingSystem.Data;usingSystem.Linq;usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.HtmlControls;
usingSystem.Web.UI.WebControls;usingSystem.Web.UI.WebControls.WebParts;usingSystem.Xml.Linq;usingSystem.Data.SqlClient;publicpartialclass)(minstate" System.Web.UI.Page# mainClass+ $ ne%mainClass&'; publicSqlComman(cm( $ ne%SqlComman(&'; protecte(,oi(PageLoa(&ob-ectsen(er /,ent)rgse' # t9is.:orm.Default1utton $ t9is.1utton6.UniqueID; if&0IsPost1ac2' #
fillcountry&'; 33
protecte(,oi(1utton6Clic26&ob-ectsen(er /,ent)rgse' # +.opencon&'; stringstr $ 8insert into state ,alues &A8?country.Selecte(7alue ? 8AA8? 4e+t1o+6.4e+t ? 8A'8; cm(.Comman(4e+t $ str; cm(.Connection $ +.cn; cm(./+ecute5onuery&'; +.closecon&'; *esponse.*e(irect&8state.asp+8'; *esponse.*e(irect&8Nri(7ie%68';
3 public,oi(fillcountry&' # +.opencon&'; cm( $ ne%SqlComman(&8select 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%6Selecte(In(e+C9ange(&ob-ectsen(er/,ent)rgse' #
33
&-TYusingSystem;usingSystem.Collections;
usingSystem.Configuration;usingSystem.Data;usingSystem.Linq;
-
8/12/2019 Tr and Min Light
43/49
-
8/12/2019 Tr and Min Light
44/49
protecte(,oi(Nri(7ie%6Selecte(In(e+C9ange(&ob-ectsen(er/,ent)rgse' #
33
ATAAS)
AI78
-
8/12/2019 Tr and Min Light
45/49
$olu&n na&e ata t/pe description
Ad&inid Int Ad&in id
Adna&e $har-2,. Ad&in na&e
0ass $har-1,. Ad&in password
$AT)#OR98
catid Int $ategor/ id
catna&e :archar-2!. $ategor/ na&e
description :archar-2,. description
status int Status 1 or ,
SU $AT)#OR98
su+catid Int Su+categor/ id
catid Int $ategor/ id
su+catna&e :archar-!,. Su+categor/ na&e
su+dec :archar-2,,. escription
status Int Status 1 or ,
0ROU$T8
pid Int 0roduct id
su+catid Int Su+categor/ id
prona&e :archar-!,. 0roduct na&e
prodec :archar-A;. 0roduct description
-
8/12/2019 Tr and Min Light
46/49
sid Int State id
cid Int $ountr/ id
sna&e :archar-1,,. State na&e
A TO $ART8
id Int Id
pid Int 0roduct id
una&e :archar-!,. User na&e
rate 7e&eric-1'>3. Rate of product
prona&e :archar-!,. 0roduct na&e
,. =uantit/ of product
i&age :archar-!,. I&age path na&e
$ART )TAIL 8
cartdid Int $art detail id
)&ai?id :archar-!,. )&ail id
a&ount 7u&eric-1'>,. A&ount of product
tot
-
8/12/2019 Tr and Min Light
47/49
e&ail?id :archar-!,. )&ail address
na&e :archar-!,. 7a&e of user
address :archar-!,,. Address of user
cit/id Int $it/ id
sid Int State idcid Int $ountr/ id
&o+ile :archar-A;. o+ile nu&+er
phone :archar-!,,. 0hone nu&+aer
do+ :archar-!,. ate of +irth
pass :archar-!,. 0assword
gender :archar-!. #ender of user
SHI00I7# 8
shipid int Shipping id
e&ailid :archar-!,. )&ail address of user
una&e :archar-!,. User na&e
address :archar-!,. Address
state :archar-!,. State na&e
cit/ :archar-!,. $it/ na&e
phoneno :archar-!,. 0hone nu&+ershipdate ateti&e Shipping date
0acilities Provided
7o etra facilities as search ha*e +een gi*en
-
8/12/2019 Tr and Min Light
48/49
Maintenance and up /radation
The site will +e &aintained and upgraded e*er/ &onth
with new contents on the page> new infor&ation and lin5swill also +e added
*imitations and 0uture +n5ancements
The &ain li&itation of the site is that no search engine
has +een used I will tr/ &/ +est to pro*ide a search engineto the site
The site is presenta+le +ut needs to +e &ore attracti*e
)fforts will +e &ade to &a5e the site &ore attracti*e and
presenta+le6
Biblio/rap5y
Reference boo7s
-
8/12/2019 Tr and Min Light
49/49
1 Be+ esign the co&plete reference
8 T5omas Po9ell
2 Using HTL4> ;L> and 6A:A 128 +ric *add and :im O;Donnell
3 AS07)T
?Danny and Tommy Ryan
4 AS07)T
_ Mridula Pari5ar