Simple MVC web grid issue. I just want to add a unique id to each row in a table
问题 Somebody proposed this answer: mvccontrib grid - How to add <tr> id is there an elegant way? I have a table like the following: My problem I just want to add a unique id to each row in this table Detailed explanation of the problem <tr class="webgrid-row-style"> I actually want @item.MvrMedsDetailsId.ToString() which is a dynamic value to be set in the row id. Like this: <tr class="webgrid-row-style" id=@item.MvrMedsDetailsId.ToString()> should yield for each row in the table <tr class=