title: MVC3 WebGrid Custom Text in Column
body: <p>I'm developing a web application using MVC3 in VB.NET.</p>
  
  <p>I having difficulty setting a column on the webgrid with the following action links</p>
  
  <p><strong>Edit | Details | Delete</strong></p>
  
  <pre><code>@*@Html.ActionLink("Edit", "Edit", New With {.id = currentItem.PrimaryKey}) |
  @Html.ActionLink("Details", "Details", New With {.id = currentItem.PrimaryKey}) |
  @Html.ActionLink("Delete", "Delete", New With {.id = currentItem.PrimaryKey})*@
  </code></pre>
  
  <p>I have tried to use syntax below but I get an error where item is not declared.</p>
  
  <p>grid.Column(header:= "",format:= (item) => item.GetSelectLink("Custom Text"))</p>
  
  <p>How do I reference the current row or item in a webgrid to make this work?</p>
  
  <p>Any help greatly appreciated.</p>
  
  <p>Regards</p>
  
  <p>James</p>