protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         GridView1.DataSource = bus.ShowProduct();
         GridView1.DataBind();
     }
     //string alert = Request.QueryString["alert"].ToString();
     //if (alert != null)
     //{
     //    Response.Write("<script>alert('" + alert + "')</script>");
     //}
 }
Exemple #2
0
 public void ShowProduct()
 {
     GridView1.DataSource = bus.ShowProduct();
     GridView1.DataBind();
 }
Exemple #3
0
 public void HienThi()
 {
     dtgProduct.DataSource = bus.ShowProduct();
     dtgProduct.DataBind();
     //fdfdf
 }