protected void LoadPhong(string q) { PHONGBusiness p = new PHONGBusiness(); DataTable dt = p.GetList(); danhsachphongban.DataSource = dt; danhsachphongban.DataBind(); }
protected void Load_Phong() { PHONGBusiness phongs = new PHONGBusiness(); DataTable P = phongs.GetList(); maphong.DataValueField = "phongid"; maphong.DataTextField = "tenphong"; maphong.DataSource = P; maphong.DataBind(); }