示例#1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     rpBanTin1.DataSource = dt.BanTin_SelectAll1();
     rpBanTin1.DataBind();
     rpBanTin2.DataSource = dt.BanTin_SelectAll1();
     rpBanTin2.DataBind();
 }
示例#2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         rpBanTin.DataSource = dt.BanTin_SelectAll1();
         rpBanTin.DataBind();
     }
 }
示例#3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         drBanTin.DataTextField  = "tenBanTin";
         drBanTin.DataValueField = "IDBanTin";
         drBanTin.DataSource     = dt.BanTin_SelectAll1();
         drBanTin.DataBind();
     }
 }