91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 5.25MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-11-01
  • 語言: C#
  • 標簽: 開發實例??

資源簡介

《ASP.NET+SQL Server網絡應用系統開發與實例》這本書的全部光盤代碼,供大家交流學習!

資源截圖

代碼片段和文件信息

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;

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.TextAddress.TextTelephone.TextEmail.Text);
}
Response.Write(“ript>alert(\“添加新的“?+?sKindName?+?“帳戶成功!\“)ript>“);
}
else
{
Response.Write(“ript>alert(\“兩次輸入的密碼不相同,請重新輸入!\“)ript>“);
}
}

private?void?KindInfo_SelectedIndexChanged(object?sender?System.EventArgs?e)
{
if(KindInfo.SelectedIndex?==?0)
{
sKindName?=?“用戶“;
DescnPanel.Visible?=?false;
}
else
{
sKindName?=?“公司“;
DescnPanel.Visible?=?true;
}
}
}
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件????1067520??2004-09-05?14:19??第8章\TestNewsDB(數據庫)

?????文件???????2781??2004-09-05?11:16??第8章\TestNews\AssemblyInfo.cs

?????文件???????2946??2004-09-05?14:10??第8章\TestNews\Default.aspx

?????文件???????2890??2004-09-05?14:09??第8章\TestNews\Default.aspx.cs

?????文件???????5317??2004-09-05?13:56??第8章\TestNews\Default.aspx.resx

?????文件?????????75??2004-09-05?11:16??第8章\TestNews\Global.asax

?????文件???????1474??2004-09-05?13:45??第8章\TestNews\Global.asax.cs

?????文件???????1733??2002-01-29?22:04??第8章\TestNews\Global.asax.resx

?????文件????????356??2004-09-05?11:35??第8章\TestNews\HeadBanner.ascx

?????文件????????996??2004-09-05?11:35??第8章\TestNews\HeadBanner.ascx.cs

?????文件???????5317??2004-06-07?11:02??第8章\TestNews\HeadBanner.ascx.resx

?????文件???????1777??2004-09-05?14:06??第8章\TestNews\ShowNews.aspx

?????文件???????1854??2004-09-05?14:06??第8章\TestNews\ShowNews.aspx.cs

?????文件???????5317??2004-09-05?14:06??第8章\TestNews\ShowNews.aspx.resx

?????文件????????594??2004-09-05?11:33??第8章\TestNews\TailBanner.ascx

?????文件????????935??2004-09-05?11:59??第8章\TestNews\TailBanner.ascx.cs

?????文件???????5317??2004-03-17?14:27??第8章\TestNews\TailBanner.ascx.resx

?????文件??????18876??2004-09-05?13:57??第8章\TestNews\TestNews.csproj

?????文件????????114??2004-09-05?11:22??第8章\TestNews\TestNews.csproj.webinfo

?????文件???????7226??2004-03-17?12:52??第8章\TestNews\TestNews.css

?????文件????????927??2004-09-05?11:57??第8章\TestNews\TestNews.sln

????..A..H.??????8704??2004-09-05?14:16??第8章\TestNews\TestNews.suo

?????文件????????939??2004-12-27?20:45??第8章\TestNews\Web.config

?????文件??????57344??2004-09-05?14:14??第8章\TestNews\bin\TestNews.dll

?????文件?????126464??2004-09-05?14:14??第8章\TestNews\bin\TestNews.pdb

?????目錄??????????0??2008-03-31?12:57??第8章\TestNews\bin

????...D.H.?????????0??2008-03-31?12:57??第8章\TestNews\_vti_txt

????...D.H.?????????0??2008-03-31?12:57??第8章\TestNews\_vti_script

?????文件????????112??2004-09-05?11:16??第8章\TestNews\_vti_pvt\access.cnf

?????文件????????324??2004-09-05?11:16??第8章\TestNews\_vti_pvt\deptodoc.btr

............此處省略1749個文件信息

評論

共有 條評論