url: WebsiteName/Player/Details/2
@Request.QueryString["id"]; is not working. but,
if the url is has been: WebsiteName/Player/Details?id=2 it is working.
url: WebsiteName/Player/Details/2
@Request.QueryString["id"]; is not working. but,
if the url is has been: WebsiteName/Player/Details?id=2 it is working.
url: WebsiteName/Player/Details/2
You can passing value this way. Then you can get value in controller using this line....
RouteData.Values["id"].ToString()