Exemple #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         MyDataClass.BindTable(rptDisplay);
     }
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         MyDataClass.BindTable(rptDisplay);
         MyDataClass.BindTable(rptAnother);
         //You can call BindTable() with any repeater like
         //MyDataClass.BindTable(MyRepeaterID);
     }
 }
Exemple #3
0
 protected void Button3_Click(object sender, EventArgs e)
 {
     MyDataClass.BindTable(rptDisplay, MyEnum.AllItems);
 }
Exemple #4
0
 protected void Button2_Click(object sender, EventArgs e)
 {
     MyDataClass.BindTable(rptDisplay, MyEnum.FirstFour);
 }