tijian_tieying/web/Web/Meeting/MeetingView.aspx.cs
2025-02-20 12:14:39 +08:00

42 lines
1.6 KiB
C#

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 Meeting_MeetingView : System.Web.UI.Page
{
public string MettingIp = "";
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
ZWL.Common.PublicMethod.CheckSession();
//绑定页面数据
ZWL.BLL.ERPMeeting Model = new ZWL.BLL.ERPMeeting();
Model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
this.Label1.Text = Model.MeetingTitle;
this.Label9.Text = Model.HuiYiJiYao;
this.Label2.Text = Model.MeetingZhuTi;
this.Label3.Text = Model.MiaoShu;
this.Label4.Text = Model.ChuXiRen;
this.Label5.Text = Model.WangLuoHuiYiShiIP;
MettingIp = this.Label5.Text;
this.Label6.Text = Model.HuiYiZhuChi;
this.Label7.Text = Model.KaiShiTime.ToString();
this.Label8.Text = Model.JieShuTime.ToString();
//写系统日志
ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
MyRiZhi.DoSomething = "用户进入会议(" + this.Label1.Text + ")";
MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
MyRiZhi.Add();
}
}
}