예제 #1
0
        private void init_params()
        {
            ProductGroup.DataSource = new ProductsBLL().getCustomerGroups();
            ProductGroup.DataBind();

            ProductsTable.DataSource = new ProductsBLL().getCustomerProducts();
            ProductsTable.DataBind();
        }
예제 #2
0
 protected void ProductGroup_ItemCommand(object source, RepeaterCommandEventArgs e)
 {
     ProductsTable.DataSource = new ProductsBLL().getCustomerProducts(((LinkButton)e.CommandSource).Text);
     ProductsTable.DataBind();
 }