Exemplo n.º 1
0
        protected void GridView_Product_Variants_Sorting(object sender, GridViewSortEventArgs e)
        {
            ProductMgr myProductMgr = new ProductMgr();

            GridView_Manufacturers.DataSource = myProductMgr.Get_Manufacturers(e.SortExpression);
            GridView_Manufacturers.DataBind();
        }
Exemplo n.º 2
0
        private void Control_Init()
        {
            ProductMgr myProductMgr = new ProductMgr();

            GridView_Manufacturers.DataSource = myProductMgr.Get_Manufacturers();
            GridView_Manufacturers.DataBind();

            MultiView_Manufacturer.SetActiveView(View_Add);
        }