Answers for "clickable table row asp.net core"

C#
0

clickable table row asp.net core

@foreach (var user in Model.Users)
{
    <tr onclick="location.href = '@(Url.Action("ShowProfile", "Users", new { userId = user.UserId }))'">
    //rest of your markup for that table row
    </tr>
}
Posted by: Guest on April-14-2021

C# Answers by Framework

Browse Popular Code Answers by Language