예제 #1
0
 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>");
     //}
 }
예제 #2
0
 public void ShowProduct()
 {
     GridView1.DataSource = bus.ShowProduct();
     GridView1.DataBind();
 }
예제 #3
0
 public void HienThi()
 {
     dtgProduct.DataSource = bus.ShowProduct();
     dtgProduct.DataBind();
     //fdfdf
 }