title: Retrieving a url (or any value) from SPList
body: <p>I just spent half an hour trying to figure out how to retrieve a link from SPList.</p>
  
  <p>I have a column of type "Hyperlink or Picture" in a list, and so far I came up with this:</p>
  
  <pre><code>SPListItem item = /* init item here */
  SPFieldUrl field = item.Fields["URL"] as SPFieldUrl;
  SPFieldUrlValue urlValue = field.GetFieldValue(item["URL"].ToString()) as SPFieldUrlValue;
  string url = urlValue.Url;
  </code></pre>
  
  <p>This is ugly, though - is there a better way ?</p>