/*
        Metodo que llena el drodownlist de operation cuando se selecciona un proceso
        */
        private void fillOperation(int ProcessSelected)
        {
            RecipeService recipeService = new RecipeService();
            List<RecipeOperationView> recipeOperation = recipeService.getRecipeOperationForProcess(ProcessSelected);
            Operation2.DataSource = recipeOperation;
            Operation2.DataBind();

            ListItem l = new ListItem("", "", true);
            l.Selected = true;
            Operation2.Items.Insert(0, l);
        }
Пример #2
0
 private void fillOperationTable(int ProcessSelected)
 {
     RecipeService recipeService = new RecipeService();
     List<RecipeOperationView> recipeOperation = recipeService.getRecipeOperationForProcess(ProcessSelected);
     GridView2.DataSource = recipeOperation;
     GridView2.DataBind();
 }