• 大小: 5.85MB
    文件类型: .rar
    金币: 2
    下载: 0 次
    发布日期: 2024-01-08
  • 语言: C#
  • 标签:

资源简介

基于asp.net网上银行开发项目!,下载看看

资源截图

代码片段和文件信息

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;
using System.Data.SqlClient;
using System.Text.Regularexpressions;

public partial class checkOut : System.Web.UI.Page
{
    CommonClass ccObj = new CommonClass();
    DBClass dbObj = new DBClass();
    OrderClass ocObj = new OrderClass();
    UserClass ucObj = new UserClass();
    DataTable dtTable;
    Hashtable hashCar;
    string strSql;
    protected void Page_Load(object sender EventArgs e)
    {
        if (!IsPostBack)
        {
            if (Session[“Username“] == null)
            {
                 Response.Write(“ript lanuage=javascript>alert(‘对不起您还不是会员!‘);location=‘kaoshi_timu.aspx‘ript>“);
            }  
            else
            {
                //如果用户已登录,则显示用户的基本信息
                DataTable dsTable = ucObj.GetUserInfo(Convert.ToInt32(Session[“UserID“].ToString()));
                this.txtReciverName.Text = dsTable.Rows[0][1].ToString();     //收货人姓名
                this.txtReceiverPhone.Text = dsTable.Rows[0][5].ToString();   //收货人电话号码
                this.txtReceiverEmails.Text = dsTable.Rows[0][6].ToString();  //收货人Email
                this.txtReceiverPostCode.Text = dsTable.Rows[0][8].ToString();//收货人邮编
                this.txtReceiverAddress.Text =dsTable.Rows[0][7].ToString();  //收货人详细地址
            }
            if (Session[“ShopCart“] == null)
            {
                //如果没有购物,则给出相应信息,并隐藏按钮
                this.labMessage.Text = “您还没有购物!“; //显示提示信息
                this.btnConfirm.Visible = false;         //隐藏“确认”按钮
            }
            else
            {
                hashCar = (Hashtable)Session[“ShopCart“];  //获取其购物车
                if (hashCar.Count == 0)
                {
                    //如果没有购物,则给出相应信息,并隐藏按钮
                    this.labMessage.Text = “您购物车中没有商品!“;//显示提示信息
                    this.btnConfirm.Visible = false;              //隐藏“确认”按钮
                }
                else
                {
                    //设置购物车内容的数据源
                    dtTable = new DataTable();
                    DataColumn column1 = new DataColumn(“No“);//序号列
                    DataColumn column2 = new DataColumn(“BookID“);    //商品ID代号
                    DataColumn column3 = new DataColumn(“BookName“);  //商品名称
                    DataColumn column4 = new DataColumn(“Num“);       //数量
                    DataColumn column5 = new DataColumn(“price“);     //单价
                    DataColumn column6 = new DataColumn(“totalPrice“);//总价
                    dtTable.Columns.Add(column1);//添加新列
                    dtTable.Columns.Add(column2);
                    dtTable.Columns.Add(column3);
                    dtTable.Columns.Add(column4);
                    dtTable.Columns.

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       5505  2008-07-29 19:49  OnlinePay\App_Code\BankPay.cs

     文件       3932  2008-06-27 14:07  OnlinePay\App_Code\CommonClass.cs

     文件       5447  2007-05-09 13:20  OnlinePay\App_Code\DBClass.cs

     文件       3704  2008-05-11 11:36  OnlinePay\App_Code\GoodsClass.cs

     文件       6395  2007-12-12 09:02  OnlinePay\App_Code\OrderClass.cs

     文件       7404  2007-11-20 13:00  OnlinePay\App_Code\UserClass.cs

     文件     126976  2005-10-21 13:45  OnlinePay\Bin\infosecapi.dll

     文件      17102  2005-10-21 13:45  OnlinePay\Bin\infosecapi.lib

     文件       4608  2005-09-21 19:49  OnlinePay\Bin\Interop.ICBCEBANKUTILLib.dll

     文件         86  2007-12-27 09:33  OnlinePay\Bin\Interop.ICBCEBANKUTILLib.dll.refresh

     文件      13346  2009-05-14 11:08  OnlinePay\checkOut.aspx

     文件       9275  2008-07-30 11:10  OnlinePay\checkOut.aspx.cs

     文件        493  2009-05-13 08:27  OnlinePay\css\css.css

     文件    9437184  2010-01-22 09:58  OnlinePay\DB\db_NetStore.mdf

     文件    1048576  2010-01-22 09:58  OnlinePay\DB\db_NetStore_log.ldf

     文件       6533  2009-05-14 09:06  OnlinePay\Default.aspx

     文件       4122  2010-01-22 09:49  OnlinePay\Default.aspx.cs

     文件       3313  2008-03-26 16:28  OnlinePay\GoBank.aspx

     文件       2582  2008-07-30 13:04  OnlinePay\GoBank.aspx.cs

     文件       4952  2007-11-20 19:54  OnlinePay\goodsList.aspx

     文件       7155  2010-01-22 09:53  OnlinePay\goodsList.aspx.cs

     文件       7660  2008-07-30 01:37  OnlinePay\images\1(1).jpg

     文件       8155  2008-07-29 18:19  OnlinePay\images\1111111.JPG

     文件       8004  2008-07-30 01:37  OnlinePay\images\2.jpg

     文件       8181  2008-07-30 01:37  OnlinePay\images\3.jpg

     文件       1082  2007-11-22 19:24  OnlinePay\images\ftp\1.gif

    ..A.SH.     60416  2009-05-14 11:26  OnlinePay\images\ftp\Thumbs.db

     文件      10463  2009-05-14 10:46  OnlinePay\images\ftp\小说.jpg

     文件      13147  2009-05-14 10:46  OnlinePay\images\ftp\工具书.jpg

     文件      13196  2007-11-26 09:34  OnlinePay\images\ftp\文艺.jpg

............此处省略327个文件信息

评论

共有 条评论