title: webgrid column format
body: <p>I saw this line of code from a sample application:</p>
  
  <pre><code>grid.Column(format: @&lt;a href="~/EditMovie?id=@item.ID"&gt;Edit&lt;/a&gt;)
  </code></pre>
  
  <p>The complete snippet looks like this:</p>
  
  <pre><code>@grid.GetHtml(
     tableStyle: "grid",
     headerStyle: "head",
     alternatingRowStyle: "alt",
     columns: grid.Columns(
        grid.Column(format: @&lt;a href="~/EditMovie?id=@item.ID"&gt;Edit&lt;/a&gt;),
        grid.Column("Title"),
        grid.Column("Genre"),
        grid.Column("Year")
    )
  )
  </code></pre>
  
  <p>It's supposed to render a column with the Edit hyperlink.</p>
  
  <p>I'm new to Razor and the webgrid. Could someone please explain how that line of code works. The code is in C#.</p>