⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 show.aspx.cs.svn-base

📁 走吧旅游网站前后台源代码
💻 SVN-BASE
字号:
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;

namespace Maticsoft.Web.HotelOrder
{
    public partial class Show : System.Web.UI.Page
    {        
        		protected void Page_LoadComplete(object sender, EventArgs e)
		{
			(Master.FindControl("lblTitle") as Label).Text = "详细信息";
		}
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null || Request.Params["id"].Trim() != "")
				{
					string id = Request.Params["id"];
					ShowInfo(int.Parse(id));
				}
			}
		}
		
private void ShowInfo(string OrderNo)
{
	Maticsoft.BLL.HotelOrder bll=new Maticsoft.BLL.HotelOrder();
	Maticsoft.Model.HotelOrder model=bll.GetModel(OrderNo);
	this.lblHotelID.Text=model.HotelID;
	this.lblIndate.Text=model.Indate;
	this.lblOutdate.Text=model.Outdate;
	this.lblPayMethods.Text=model.PayMethods;
	this.lblRoomTrait.Text=model.RoomTrait;
	this.lblLocalFloor.Text=model.LocalFloor;
	this.lblBreakfastPrice1.Text=model.BreakfastPrice1.ToString();
	this.lblBreakfastPrice2.Text=model.BreakfastPrice2.ToString();
	this.lblAddBedPrice.Text=model.AddBedPrice.ToString();
	this.lblAdvance.Text=model.Advance.ToString();
	this.lblInManAmount.Text=model.InManAmount.ToString();
	this.lblInPaper.Text=model.InPaper;
	this.lblInManName.Text=model.InManName;
	this.lblArriveEarlyDate.Text=model.ArriveEarlyDate;
	this.lblArriveLateDate.Text=model.ArriveLateDate;
	this.lblArriveMethods.Text=model.ArriveMethods;
	this.lblLinkMan.Text=model.LinkMan;
	this.lblConfirmedMethods.Text=model.ConfirmedMethods;
	this.lblPhone1.Text=model.Phone1;
	this.lblPhone2.Text=model.Phone2;
	this.lblFax.Text=model.Fax;
	this.lblEmail.Text=model.Email;
	this.lblRemark.Text=model.Remark;
	this.lblRoomType.Text=model.RoomType;
	this.lblAveragePrice.Text=model.AveragePrice.ToString();
	this.lblOrderState.Text=model.OrderState.ToString();
	this.lblConfirmID.Text=model.ConfirmID;
	this.lblConfimDate.Text=model.ConfimDate.ToString();
	this.lblAccountConfirmID.Text=model.AccountConfirmID;
	this.lblAccountConfirmDate.Text=model.AccountConfirmDate.ToString();
	this.lblPlanConfirmID.Text=model.PlanConfirmID;
	this.lblPlanConfirmDate.Text=model.PlanConfirmDate.ToString();
	this.lblVenderID.Text=model.VenderID;

}

    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -