ASP.NET房产销售网站(网上售房系统)(8)

来源:xiaoniu168.com 作者:本站原创 添加时间:2011-11-09 点击数:22963

计算机毕业设计会员订单功能介绍:

(六)会员订单信息
此页面用于显示会员的订单信息列表,包括订单号、签订日期、定金金额、审批标志、确认购买、付款银行,以及返回按钮。点击订单号的链接,可以显示该订单的详细信息。如图:
计算机毕业论文

以下是引用片段:

其主要代码实现过程如下:
protected void Page_Load(object sender, EventArgs e)
    {
        // 在此处放置用户代码以初始化页面
        if (!Page.IsPostBack)
        {
            //绑定楼盘信息列表
            this.DropDownList1.DataTextField = "楼盘名称";
            this.DropDownList1.DataValueField = "楼牌代码";
            this.DropDownList1.DataSource = Database.Get_Table("select * from 楼盘信息 ");
            this.DropDownList1.DataBind();
            if (Request.QueryString["ID"] != null)
            {
                //显示当前的在线订单信息列表
                DataTable tmpda = new DataTable();
                int fcid = 0;
                tmpda = Database.Get_Table("select * from  在线订单 where 订单号='" + Request.QueryString["ID"] + "'");
                if (tmpda.Rows.Count > 0)
                {
                    this.TextBox9.Text = tmpda.Rows[0]["订单号"].ToString();
                    this.TextBox10.Text = tmpda.Rows[0]["签订日期"].ToString();
                    this.TextBox11.Text = tmpda.Rows[0]["定金金额"].ToString();
                    this.TextBox12.Text = tmpda.Rows[0]["审批标志"].ToString();

                    this.TextBox14.Text = tmpda.Rows[0]["确认购买"].ToString();
                    fcid = Convert.ToInt32(tmpda.Rows[0]["房产代码"].ToString());
                    if (tmpda.Rows[0]["审批标志"].ToString() != "通过")
                    {
                        Button3.Visible = true;
                    }
                    if ((tmpda.Rows[0]["确认购买"].ToString() == "") && (tmpda.Rows[0]["审批标志"].ToString() == "通过"))
                    {
                        Button2.Visible = true;
                    }
                    else
                    {
                        if (tmpda.Rows[0]["审批标志"].ToString() != "等待")
                        {
                            TD1.
                            File1.Visible = false;
                        }
                    }
                }

〖资料来源:计算机毕业论文 www.xiaoniu168.com

第9页为计算机毕业论文参考文献......

【联系方式】

【本站信誉】

用心做计算机毕业设计论文网