28 lines
1.1 KiB
C#
28 lines
1.1 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 GongGao_VoteView : System.Web.UI.Page
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
if (!Page.IsPostBack)
|
|
{
|
|
ZWL.Common.PublicMethod.CheckSession();
|
|
ZWL.BLL.ERPVote MyModel = new ZWL.BLL.ERPVote();
|
|
MyModel.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
|
|
this.Label1.Text = MyModel.TitleStr;
|
|
this.Label2.Text = ZWL.Common.PublicMethod.GetVoteTable(MyModel.ContentStr, MyModel.ScoreStr, Request.QueryString["ID"].ToString(), ZWL.Common.PublicMethod.StrIFIn("|" + ZWL.Common.PublicMethod.GetSessionValue("UserName") + "|", ZWL.DBUtility.DbHelperSQL.GetSHSL("select TouPiaoRenList from ERPVote where ID="+Request.QueryString["ID"].ToString())));
|
|
this.Label3.Text = MyModel.UserName;
|
|
this.Label4.Text = MyModel.TimeStr.ToString();
|
|
}
|
|
}
|
|
}
|