-
大小: 632KB文件類型: .rar金幣: 2下載: 0 次發(fā)布日期: 2021-06-04
- 語(yǔ)言: 其他
- 標(biāo)簽: asp.net;WEB??
資源簡(jiǎn)介
B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼,帶數(shù)據(jù)庫(kù),VS打開可以正常運(yùn)行

代碼片段和文件信息
using?System;
using?System.Collections;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Web;
using?System.Web.SessionState;
using?System.Web.UI;
using?System.Web.UI.WebControls;
using?System.Web.UI.HtmlControls;
namespace?B2CShop
{
///?
///?Summary?description?for?AddUserOrCompany.
///?
public?class?AddUserOrCompany?:?System.Web.UI.Page
{
protected?System.Web.UI.WebControls.TextBox?Description;
protected?System.Web.UI.WebControls.TextBox?Address;
protected?System.Web.UI.WebControls.TextBox?Telephone;
protected?System.Web.UI.WebControls.TextBox?Email;
protected?System.Web.UI.WebControls.RadioButtonList?KindInfo;
protected?System.Web.UI.WebControls.Button?AddInfo;
protected?System.Web.UI.WebControls.TextBox?Password;
protected?System.Web.UI.WebControls.TextBox?PasswordStr;
protected?System.Web.UI.HtmlControls.HtmlGenericControl?title;
protected?System.Web.UI.WebControls.Panel?DescnPanel;
protected?System.Web.UI.WebControls.TextBox?InfoName;
protected?System.Web.UI.WebControls.RequiredFieldValidator?rfP;
protected?System.Web.UI.WebControls.CompareValidator?CVPP;
protected?System.Web.UI.WebControls.RequiredFieldValidator?rfEM;
protected?System.Web.UI.WebControls.RequiredFieldValidator?rfIM;
public?String?sKindName?=?““;
private?void?Page_Load(object?sender?System.EventArgs?e)
{
//?Put?user?code?to?initialize?the?page?here
}
#region?Web?Form?Designer?generated?code
override?protected?void?OnInit(EventArgs?e)
{
//
//?CODEGEN:?This?call?is?required?by?the?ASP.NET?Web?Form?Designer.
//
InitializeComponent();
base.OnInit(e);
}
///?
///?Required?method?for?Designer?support?-?do?not?modify
///?the?contents?of?this?method?with?the?code?editor.
///?
private?void?InitializeComponent()
{????
this.KindInfo.SelectedIndexChanged?+=?new?System.EventHandler(this.KindInfo_SelectedIndexChanged);
this.AddInfo.Click?+=?new?System.EventHandler(this.UpdateInfo_Click);
this.Load?+=?new?System.EventHandler(this.Page_Load);
}
#endregion
private?void?UpdateInfo_Click(object?sender?System.EventArgs?e)
{
if(Password.Text?==?PasswordStr.Text)
{
if(KindInfo.SelectedIndex?==?0)
{
UserDAL?user?=?new?UserDAL();
user.AddUser(InfoName.TextPassword.TextAddress.TextTelephone.TextEmail.Text);
}
else
{
CompanyDAL?company?=?new?CompanyDAL();
company.AddCompany(Description.TextInfoName.TextPassword.Text.Trim()Address.TextTelephone.TextEmail.Text);
}
Response.Write(“ript>alert(\“添加新的“?+?sKindName?+?“帳戶成功!\“) ript>“);
}
else
{
Response.Write(“ript>alert(\“兩次輸入的密碼不相同,請(qǐng)重新輸入!\“) ript>“);
}
}
private?void?KindInfo_SelectedIndexChanged(object?sender?System.EventArgs?e)
{
if(KindInfo.SelectedIndex?==?0)
{
sKindName?=?“用戶“;
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
????.......??????6641??2005-04-10?15:33??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\AddUserOrCompany.aspx
????.......??????3158??2005-04-10?15:37??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\AddUserOrCompany.aspx.cs
????.......??????5317??2005-04-10?15:33??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\AddUserOrCompany.aspx.resx
????.......??????2781??2004-08-19?17:53??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\AssemblyInfo.cs
????.......?????30535??2005-04-10?16:15??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\B2CShop.csproj
????.......???????112??2005-04-10?15:28??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\B2CShop.csproj.webinfo
????.......??????7226??2004-03-17?12:52??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\B2CShop.css
????.......???????924??2005-04-10?15:28??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\B2CShop.sln
????.......?????13312??2005-04-10?16:54??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\B2CShop.suo
????.......?????86016??2005-04-10?16:51??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\bin\B2CShop.dll
????.......????237056??2005-04-10?16:51??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\bin\B2CShop.pdb
????.......?????16384??2005-03-25?18:28??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\bin\IShopDAL.dll
????.......??????7680??2005-03-25?18:28??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\bin\IShopDAL.pdb
????.......?????20480??2005-03-25?18:29??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\bin\ShopDBClass.dll
????.......?????58880??2005-03-25?18:29??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\bin\ShopDBClass.pdb
????.......??????5095??2004-12-29?20:59??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\Default.aspx
????.......??????3695??2007-09-17?09:12??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\Default.aspx.cs
????.......??????5317??2004-09-01?00:28??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\Default.aspx.resx
????.......????????74??2004-08-19?17:53??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\Global.asax
????.......??????1475??2005-04-10?16:32??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\Global.asax.cs
????.......??????1733??2002-01-29?22:04??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\Global.asax.resx
????.......???????402??2005-04-10?16:28??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\HeadBanner.ascx
????.......??????1003??2004-07-31?00:35??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\HeadBanner.ascx.cs
????.......??????5317??2004-06-07?11:02??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\HeadBanner.ascx.resx
????.......????????56??2004-03-17?13:54??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\Images\0.gif
????.......????????53??2004-03-03?11:39??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\Images\1.gif
????.......?????25373??2004-02-07?12:42??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\Images\111.png
????.......????????56??2004-03-17?13:57??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\Images\2.gif
????.......?????33216??2004-01-16?17:23??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\Images\222.png
????.......????????53??2004-02-29?17:20??B2C電子商務(wù)網(wǎng)站系統(tǒng)源碼\B2CShop\Images\3.gif
............此處省略220個(gè)文件信息
評(píng)論
共有 條評(píng)論