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