コード例 #1
0
 void loadTheLoai()
 {
     drDienGiai.DataSource     = ctdao.DanhSachCongTac();
     drDienGiai.DataValueField = "Ma";
     drDienGiai.DataTextField  = "CongTac";
     drDienGiai.DataBind();
     drType.DataSource     = ctdao.DanhSachCongTac();
     drType.DataValueField = "Ma";
     drType.DataTextField  = "CongTac";
     drType.DataBind();
 }
コード例 #2
0
 protected void btnChangeCT_Click(object sender, EventArgs e)
 {
     lblCongTac.Visible       = false;
     btnChangeCT.Visible      = false;
     btnHideCT.Visible        = true;
     drCongTac.DataSource     = ctdao.DanhSachCongTac();
     drCongTac.DataTextField  = "CongTac";
     drCongTac.DataValueField = "Ma";
     drCongTac.DataBind();
     drCongTac.Visible = true;
 }
コード例 #3
0
 void loadGR()
 {
     grDSCongTacTS.DataSource = tsdao.DanhSachCongTac();
     grDSCongTacTS.DataBind();
 }