private void LoadDuLieu() { TruyVanLayDuLieu dao = new TruyVanLayDuLieu(); data.DataSource = dao.Laydulieu("DanhMuc_Select"); data.DataBind(); }
private void LoadDuLieu() { TruyVanLayDuLieu dao = new TruyVanLayDuLieu(); data.DataSource = dao.Laydulieu("SanPham_SelectAll"); data.DataBind(); }
private void LoadDanhMuc() { TruyVanLayDuLieu dao = new TruyVanLayDuLieu(); chuyenmuc.DataSource = dao.Laydulieu("DanhMuc_Select"); chuyenmuc.DataTextField = "TenDanhMuc"; chuyenmuc.DataValueField = "MaDanhMuc"; chuyenmuc.DataBind(); }