Answers for "tempdata exists"

C#
0

if exist TempData

@if (TempData["SuccessMessage"] != null)
{
    <div class="success-message">
        @Html.Raw(@TempData["SuccessMessage"].ToString())
    </div>
}
Posted by: Guest on January-01-1970

C# Answers by Framework

Browse Popular Code Answers by Language