I am trying to format the output of a query in a WebMatrix 2 CSHTML file. This is the code I am using:
@foreach(var row in db.Query(selectQueryString))
{
@row.Firstname; + " " + @row.lastname; + " " + @row.Entry;
}
I am getting this error:
"CS0201: Only assignment, call, increment, decrement, and new object expressions can be used as a statement"