示例#1
0
        private void LoadSanPham()
        {
            TruyVanLayDuLieu dao = new TruyVanLayDuLieu();

            dataSanPham.DataSource = dao.Laydulieu("SanPham_Select");
            dataSanPham.DataBind();
        }
        private void LoadDanhMuc()
        {
            TruyVanLayDuLieu dao = new TruyVanLayDuLieu();

            dataDanhMuc.DataSource = dao.Laydulieu("DanhMuc_Select");
            dataDanhMuc.DataBind();
        }