📄 show.aspx.cs
字号:
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.TourismProH
{
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 LinesProID)
{
Maticsoft.BLL.TourismProH bll=new Maticsoft.BLL.TourismProH();
Maticsoft.Model.TourismProH model=bll.GetModel(LinesProID);
this.lblLinesID.Text=model.LinesID;
this.lblReceiveCityID.Text=model.ReceiveCityID;
this.lblLinesProName.Text=model.LinesProName;
this.lblLinesProType.Text=model.LinesProType;
this.lblLinesProGroup.Text=model.LinesProGroup;
this.lblTeamCode.Text=model.TeamCode;
this.lblDayAmount.Text=model.DayAmount.ToString();
this.lblOutTeamDate.Text=model.OutTeamDate;
this.lblOutTeamTime.Text=model.OutTeamTime;
this.lblReBackTeamDate.Text=model.ReBackTeamDate;
this.lblReBackTeamTime.Text=model.ReBackTeamTime;
this.lblOverDate.Text=model.OverDate;
this.lblSendTeamPlan.Text=model.SendTeamPlan;
this.lblReturnRules.Text=model.ReturnRules;
this.lblInsurance.Text=model.Insurance;
this.lblAmountMan.Text=model.AmountMan.ToString();
this.lblLeastAmountMan.Text=model.LeastAmountMan.ToString();
this.lblOutTraffic.Text=model.OutTraffic;
this.lblReBackTraffic.Text=model.ReBackTraffic;
this.lblEmergancyPhone.Text=model.EmergancyPhone;
this.lblSalesAuthority.Text=model.SalesAuthority;
this.lblRecUserID.Text=model.RecUserID;
this.lblRecDate.Text=model.RecDate.ToString();
this.lblState.Text=model.State.ToString();
this.lblOutCityID.Text=model.OutCityID;
this.lblInCityID.Text=model.InCityID;
this.lblTraffic.Text=model.Traffic;
this.lblShopManPrice.Text=model.ShopManPrice.ToString();
this.lblPeerManPrice.Text=model.PeerManPrice.ToString();
this.lblInterManPrice.Text=model.InterManPrice.ToString();
this.lblShopChildrenPrice.Text=model.ShopChildrenPrice.ToString();
this.lblPeerChildrenPrice.Text=model.PeerChildrenPrice.ToString();
this.lblInterChildrenPrice.Text=model.InterChildrenPrice.ToString();
this.lblSetAddres.Text=model.SetAddres;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -