dynamic radiobutton in razor
问题 I am using razor view engine and having a bit of trouble creating a list of radiobutton . I am populating a table with a for loop with the values of my model in my view. at each row I want to have a radiobutton . I want to be able to select just one row and get the related items id from the model and submit it to another page. I know how to post. I actually achieved this by using checkbox . But the problem with checkbox is that it allows multiple selection. So I guess I need to use