示例#1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if ((!this.Page.IsPostBack && (base.Request.Params["fid"] != null)) && (base.Request.Params["fid"].Trim() != ""))
     {
         string str = base.Request.Params["fid"];
         int formID = Convert.ToInt32(str);
         Maticsoft.Model.Poll.Forms model = new Maticsoft.BLL.Poll.Forms().GetModel(formID);
         this.lblFormName.Text = model.Name;
         this.lblFormID.Text = model.FormID.ToString();
         Maticsoft.BLL.Poll.UserPoll poll = new Maticsoft.BLL.Poll.UserPoll();
         this.polluser = poll.GetUserByForm(0).ToString();
         this.formuser = poll.GetUserByForm(formID).ToString();
         this.BindData(formID);
     }
 }