摘要网络购物已经慢慢地从一个新鲜的事物逐渐变成日常生活的一部分,以其特殊的优势而逐渐深入人心。本课题是设计开发一种基于C2C模式的网上购物系统。让各用户使用浏览器进行商品浏览。注册用户可以轻松的展示自己的网络商店,能对自己的用户信息进行修改,对发布的商品信息进行添加与管理,用自己的方法去推销产品。系统管理员可以对会员的相关信息进行管理。网站提供数据库检索和一定的安全保障,商品信息的发布和交易的协商都由作为独立个体的“买家”和“卖家”完成。利用.NET平台进行小型网站的开发是未来开发的趋势。本系统在.NET平台上进行开发,用C#进行了编码,并使用SQLserver进行数据库设计,建立起一个比较完整的网上购物系统。其特点是方便快捷的操作方式,简单易懂的管理方法,因此对于企业和用户来说,都是一种新型的、节约型的系统。关键词:C2C模式;网上购物;C#;.NET;SQLServerAbstractOnlineshoppinghasbecomeausualthinginourlife.Andithasgoneintothepublicfeelingwithitsspecialadvantage.Inthisarticle,wedesignandimplementakindofsystemofonlineshoppingbasedonC2Cmode.Theshowownnetworkshopwheretheregisteredusercanberelaxedandcomfortable,canreviseone'sownuser'sinformation,addandmanagetothegoodsinformationthatisreleased,promotethesaleofproductswithone'sownmethod.Thesystemmanagercanmanagethemember'srelevantinformation.Websitesofferdatabasesearchingandsecurity,theissueoftheinformationofthegoodsandnegotiationsofthetradeallarecompletedbytheindependentindividual'sbuyerwithseller.Itisatrenddevelopedinthefuturetospend.NETplatformcarryingonthedevelopmentofsmall-scalewebsites.Thissystemisdevelopedin.NETplatform.ItusesC#andSQLserverdatabaseandbuildsacompletedonlineshoppingsystem.Convenientoperationandsimplemanagementmethodsisitsfeatures.Therefore,itisanew,conservation-orientedsystemfortheusers.Keywords:C2Cmodel;Onlineshopping;C#;.NET;SQLServer目录1引言......................................................................................................01.1课题背景..........................................................................................................................01.2国内研究发展现状..........................................................................................................01.3本课题研究的意义..........................................................................................................11.4本课题的研究内容..........................................................................................................12系统需求分析.....................................................................................12.1系统功能需求分析..........................................................................................................12.2运行需求..........................................................................................................................22.3预期设计目标..................................................................................................................32.4系统可行性分析..............................................................................................................32.4.1技术可行性..............................................................................................................32.4.2经济可行性..............................................................................................................32.4.3操作可行性..............................................................................................................33系统设计.............................................................................................43.1系统结构图......................................................................................................................43.2数据库设计......................................................................................................................43.2.1E—R图....................................................................................................................43.2.2开发环境和语言......................................................................................................53.2.3相关语言介绍..........................................................................................................53.2.4核心数据库设计......................................................................................................54系统实现.............................................................................................84.1用户注册..........................................................................................................................84.2用户登陆........................................................................................................................104.3发布商品.........................................................................................................................114.4留言................................................................................................................................124.5管理员登陆....................................................................................................................125系统测试...........................................................................................13结论..................................................................................................13参考文献..................................................................................................141引言1.1课题背景随着我国经济与科学技术的不断发展,对于许多消费者来说,网络购物已经慢慢地从一个新鲜的事物逐渐变成日常生活的一部分,网上以其特殊的优势而逐渐深入人心。网民中进行网络购物的比例也正逐步提高。2001年中国网上购物用户数占互联网用户数的比例为6%左右,此后该比例一直保持提高。2005年中国网上购物用户数占互联网用户数的比例已经达17%左右。用互联网来完成购物不仅节省了时间,免除了舟车劳顿,还有机会买到在本地市场难觅的商品。同时,