From b2ec94e54462bd582712e08bad59ebaad8b6d424 Mon Sep 17 00:00:00 2001 From: dharmatech Date: Sat, 22 May 2021 18:44:45 -0700 Subject: [PATCH] Update css reference mention in versions >= 3.0 (#22382) --- aspnetcore/data/ef-rp/read-related-data.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/aspnetcore/data/ef-rp/read-related-data.md b/aspnetcore/data/ef-rp/read-related-data.md index 8337033050..7fe9879334 100644 --- a/aspnetcore/data/ef-rp/read-related-data.md +++ b/aspnetcore/data/ef-rp/read-related-data.md @@ -249,13 +249,13 @@ The preceding code makes the following changes: ``` * Adds a **Courses** column that displays courses taught by each instructor. See [Explicit line transition](xref:mvc/views/razor#explicit-line-transition) for more about this razor syntax. - * Adds code that dynamically adds `class="success"` to the `tr` element of the selected instructor and course. This sets a background color for the selected row using a Bootstrap class. + * Adds code that dynamically adds `class="table-success"` to the `tr` element of the selected instructor and course. This sets a background color for the selected row using a Bootstrap class. ```html string selectedRow = ""; if (item.CourseID == Model.CourseID) { - selectedRow = "success"; + selectedRow = "table-success"; } ``` @@ -530,13 +530,13 @@ The preceding code makes the following changes: * Adds a **Courses** column that displays courses taught by each instructor. See [Explicit line transition](xref:mvc/views/razor#explicit-line-transition) for more about this razor syntax. -* Adds code that dynamically adds `class="success"` to the `tr` element of the selected instructor and course. This sets a background color for the selected row using a Bootstrap class. +* Adds code that dynamically adds `class="table-success"` to the `tr` element of the selected instructor and course. This sets a background color for the selected row using a Bootstrap class. ```html string selectedRow = ""; if (item.CourseID == Model.CourseID) { - selectedRow = "success"; + selectedRow = "table-success"; } ```