예제 #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!base.IsPostBack)
     {
         int          urlIntParam = base.GetUrlIntParam("id");
         ActivityInfo activity    = VShopHelper.GetActivity(urlIntParam);
         if (activity != null)
         {
             this._act           = activity;
             this.rpt.DataSource = VShopHelper.GetActivitySignUpById(urlIntParam);
             this.rpt.DataBind();
         }
     }
 }
예제 #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!base.IsPostBack)
     {
         int           urlIntParam = base.GetUrlIntParam("id");
         VActivityInfo activity    = VShopHelper.GetActivity(urlIntParam);
         if (activity != null)
         {
             this._act = activity;
             IList <ActivitySignUpInfo> activitySignUpById = VShopHelper.GetActivitySignUpById(urlIntParam);
             this.rpt.DataSource = activitySignUpById;
             this.rpt.DataBind();
             this.nodata = (this.rpt.Items.Count == 0);
         }
     }
 }