Beispiel #1
0
        private void GetProducts(int CategoryID)
        {
            Shopping shopping = new Shopping()
            {
                CategoryID = CategoryID
            };

            dlProduct.DataSource = null;
            dlProduct.DataSource = shopping.GetAllProduct();
            dlProduct.DataBind();
        }