public void gvNSXBindData()
 {
     bllNSX = new NhaSanXuatBLL();
     dtNSX = new DataTable();
     dtNSX = bllNSX.getNhaSanXuat();
     gvNSX.DataSource = dtNSX;
     gvNSX.DataBind();
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         bllNhaSanXuat = new NhaSanXuatBLL();
         dataTable = bllNhaSanXuat.getNhaSanXuat();
         TenSX.DataTextField = "TenSX";
         TenSX.DataValueField = "MaSX";
         TenSX.DataSource = dataTable;
         TenSX.DataBind();
     }
 }
        protected void Page_Load(object sender, EventArgs e)
        {
            DataTable dtNhaSanXuat;

            bllNhaSanXuat = new NhaSanXuatBLL();
            dtNhaSanXuat = bllNhaSanXuat.getNhaSanXuat();
            TenSX.DataTextField = "TenSX";
            TenSX.DataValueField = "MaSX";
            TenSX.DataSource = dtNhaSanXuat;
            TenSX.DataBind();

            gvSanPhamBindData();
        }