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