Answers for "check if tempdata has value c#"

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

Code answers related to "check if tempdata has value c#"

C# Answers by Framework

Browse Popular Code Answers by Language