Beispiel #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     OrderClothesUI orderClothesUI = new OrderClothesUI();
     if (!IsPostBack)
     {
         listproduct.DataSource = orderClothesUI.showNewClothes(20);
         listproduct.DataBind();
     }
 }
Beispiel #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     OrderClothesUI orderClothesUI = new OrderClothesUI();
     string ID = Request.QueryString["ID"];
     if (!IsPostBack)
     {
         ConnectDB db = new ConnectDB();
         DLChiTiet.DataSource = orderClothesUI.showClothesByID(ID.ToString());
         DLChiTiet.DataBind();
     }
 }