Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个动作结果 [HttpGet]。我想用单选按钮显示数据并获取被选中的相同操作 [HttpGet]。有人给我一个例子。
查看 Views\Catalog\ProductReviews.cshtm 视图,其中@Html.RadioButtonFor 用于选择评分值,CatalogController 中相应的 ProductReviewsAdd 方法