- class="col-2">
- class="form-control form-control-sm">@Html.DisplayFor(model => model.PTWContent.PTWNo)
asp.net core Change span color if @Html.DisplayFor has no data
I want to have the textbox color yellow if there is no data retrieved from the database and to display "N/A". Is possible?

Yogeshkumar HadiyaPosted Dec 24, 2020, 4:53 AM
Marius VasilePosted Dec 24, 2020, 11:24 AM
Sachin SinghPosted Dec 24, 2020, 6:16 AM