@Html.ActionLink(
linkText: "Quote Number: "@item.QuoteNumber,
actionName: "MyAction",
controllerName: "Home",
)
I'm trying to do something as above to append the item quote number the literal label. QuoteNumber is a string.
you can use the following
@Html.ActionLink( linkText: string.Format("Quote Number: {0}",item.QuoteNumber), actionName: "MyAction", controllerName: "Home")
and if you want to pass values
@Html.ActionLink(string.Format("Quote Number: {0}",item.QuoteNumber), "MyAction","Home", new {id = item.QuoteNumber})
Hope this will help you