No need to go away from Razor at all. This works for me: for (var i = 0; i < Model.UserRoles.Count(); i++) { var role = Model.
確定! 回上一頁