xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 665KB
    文件類(lèi)型: .rar
    金幣: 2
    下載: 1 次
    發(fā)布日期: 2021-06-13
  • 語(yǔ)言: C#
  • 標(biāo)簽: 源碼??.NET??C#??三層架構(gòu)??

資源簡(jiǎn)介

網(wǎng)上書(shū)店系統(tǒng),采用ASP.NET+C#+SQL2000 并采用三層架構(gòu),可以直接拿來(lái)用,保證質(zhì)量

資源截圖

代碼片段和文件信息

using?System;
using?System.Data;
using?System.Configuration;
using?System.Collections;
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;

public?partial?class?CheckOut?:?System.Web.UI.Page
{
????protected?void?Page_Load(object?sender?EventArgs?e)
????{
????????if?(billingForm.Address?==?null)
????????{
????????????//如果帳戶地址中沒(méi)有信息
????????????//可以提取Profile中的信息為其賦值
????????????billingForm.Address?=?Profile.AccountInfo;
????????}
????}
????///?
????///?當(dāng)用戶選擇“與帳戶地址相同”復(fù)選框時(shí)
????///?用帳戶地址的內(nèi)容填充送貨地址
????///?

????protected?void?chkShipToBilling_CheckedChanged(object?sender?EventArgs?e)
????{
????????if?(chkShipToBilling.Checked)
????????????shippingForm.Address?=?billingForm.Address;
????}
????protected?void?Wizard1_NextButtonclick(object?sender?WizardNavigationEventArgs?e)
????{
????????//如果當(dāng)前是第3步,則顯示帳戶地址和送貨地址
????????if?(Wizard1.ActiveStepIndex?==?2)
????????{
????????????//帳戶地址
????????????billingConfirm.Address?=?billingForm.Address;
????????????//送貨地址
????????????shippingConfirm.Address?=?shippingForm.Address;
????????????//總價(jià)格
????????????ltlTotal.Text?=?Profile.ShoppingCart.Total.ToString(“c“);
????????}
????}
????protected?void?Wizard1_FinishButtonclick(object?sender?WizardNavigationEventArgs?e)
????{
????????//首先判斷購(gòu)物籃中的商品數(shù)目是否大于0
????????if?(Profile.ShoppingCart.CartItems.Count?>?0)
????????{
????????????if?(Profile.ShoppingCart.Count?>?0)
????????????{
????????????????//?綁定購(gòu)物籃內(nèi)容到顯示控件
????????????????CartListOrdered.Bind(Profile.ShoppingCart.CartItems);
????????????????//?創(chuàng)建訂單
????????????????OrderInfo?order?=?new?OrderInfo(int.MinValue?DateTime.Now.Date?User.Identity.Name?GetCreditCardInfo()?billingForm.Address?shippingForm.Address?Profile.ShoppingCart.Total?Profile.ShoppingCart.GetOrderLineItems());
????????????????//?保存訂單
????????????????Order?newOrder?=?new?Order();
????????????????newOrder.Insert(order);
????????????????//清空購(gòu)物籃
????????????????Profile.ShoppingCart.Clear();
????????????????Profile.Save();
????????????}
????????????lblMsg.Text?=?“您的訂單已經(jīng)提交,謝謝購(gòu)買(mǎi)本站圖書(shū)!“;
????????}
????????else
????????{
????????????lblMsg.Text?=?“


不能提交訂單,因?yàn)槟馁?gòu)物籃為空.

nkNewUser?href=Default.aspx>繼續(xù)購(gòu)物

“;
????????}
????}

????///?
????///?獲取付款信息
????///?

????private?PayInfo?GetCreditCardInfo()
????{
????????return?PayControl1.Pay;
????}
}

?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----

?????文件???????8184??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\數(shù)據(jù)庫(kù)腳本\BookShop.sql

?????文件????3145728??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\數(shù)據(jù)庫(kù)\BookShop.mdf

?????文件????1048576??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\數(shù)據(jù)庫(kù)\BookShop_log.ldf

?????文件???????2746??2006-11-22?11:45??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\CheckOut.aspx

?????文件???????2878??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\CheckOut.aspx.cs

?????文件???????2004??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\Default.aspx

?????文件???????1646??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\Default.aspx.cs

?????文件????????578??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\Login.aspx

?????文件????????406??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\Login.aspx.cs

?????文件???????1288??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\Manager.aspx

?????文件????????408??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\Manager.aspx.cs

?????文件???????2250??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\MasterPage.master

?????文件???????1878??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\MasterPage.master.cs

?????文件???????2130??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\RegisterPage.aspx

?????文件????????515??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\RegisterPage.aspx.cs

?????文件??????13126??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\styleSheet.css

?????文件???????1468??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\UserProfile.aspx

?????文件????????771??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\UserProfile.aspx.cs

?????文件???????2801??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\Web.Config

?????文件????????447??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\test.aspx

?????文件????????405??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\test.aspx.cs

?????文件?????????93??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\images\button-calculate.gif

?????文件?????????61??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\images\button-delete.gif

?????文件???????1040??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\controls\AddCategory.ascx

?????文件????????894??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\controls\AddCategory.ascx.cs

?????文件????????680??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\controls\AddressConfirm.ascx

?????文件???????1318??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\controls\AddressConfirm.ascx.cs

?????文件???????3380??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\controls\AddressForm.ascx

?????文件???????2434??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\controls\AddressForm.ascx.cs

?????文件????????622??2006-11-22?11:46??網(wǎng)上書(shū)店系統(tǒng)\SQL?Server2005源代碼\controls\CartList.ascx

............此處省略159個(gè)文件信息

評(píng)論

共有 條評(píng)論