@Html.ActionLink("View Details", "Index", "PatientVisitDetail", new {id=item.Id}, null)|
产生一些链接,例如,http://localhost:19456/PatientVisitDetail/Index/1
但是,我想要一个链接,上面写着,
http://localhost:19456/PatientVisitDetail/Index/?id=1
@Html.ActionLink("View Details", "Index", "PatientVisitDetail", new {id=item.Id}, null)|
产生一些链接,例如,http://localhost:19456/PatientVisitDetail/Index/1
但是,我想要一个链接,上面写着,
http://localhost:19456/PatientVisitDetail/Index/?id=1