private void btnSave_Click(object sender, RoutedEventArgs e) { ob_recipeName.ElementAt(index).Instructions = tbInstructions.Text.ToString(); RecipeTableDB.UpdateRecipeInstructions(ob_recipeName.ElementAt(index)); this.Close(); }
private void btnSave_Click(object sender, RoutedEventArgs e) { ob_recipeName.ElementAt(index).Instructions = tbInstructions.Text.ToString(); RecipeTableDB.UpdateRecipeInstructions(ob_recipeName.ElementAt(index)); this.Close(); }