Here is my code, i am not able to send request to server with parameter on button click.
<td>
@Html.ActionLink("Edit", "Edit", new { Id = Data.StudentId })
</td>
Here is my code, i am not able to send request to server with parameter on button click.
<td>
@Html.ActionLink("Edit", "Edit", new { Id = Data.StudentId })
</td>
Hi Aarush,
After analyzed your code i have found that you are missing "@" in your parameter.
Kindly follow given line of code: