Beispiel #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);
     }
 }
Beispiel #3
0
 protected void Button3_Click(object sender, EventArgs e)
 {
     MyDataClass.BindTable(rptDisplay, MyEnum.AllItems);
 }
Beispiel #4
0
 protected void Button2_Click(object sender, EventArgs e)
 {
     MyDataClass.BindTable(rptDisplay, MyEnum.FirstFour);
 }