5
Reply

href link in mvc4 views

Sasi Reddy

Sasi Reddy

Nov 19 2013 11:57 PM
1.9k
grid.Column("Name",format: @<text><a href="@Href("~/FarmerBasicDetails/FarmerDetails/" + item.FarmerId)"> @item.FirstName</a> </text>),

i have that line in my view .so i want to get that farmerid into FarmerBasicDetails controller.

can u please tell me how to do that?......

Answers (5)