title: Unhandled exception occurred - System.IndexOutOfRangeException: upc
body: <p>I added a new table to our database named <code>upc</code>.</p>
  
  <p>When I add it to the front end of our site, I'm getting this error:</p>
  
  <blockquote>
    <p>Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.</p>
    
    <p>Exception Details: System.IndexOutOfRangeException: upc</p>
  </blockquote>
  
  <p>Source Error:</p>
  
  <pre><code>    if (!Sdr["upc"].ToString().Trim().Equals(""))
  
             liupc.InnerHtml = "upc: " + Sdr["upc"].ToString();
  
      else
  </code></pre>
  
  <p>I'm not sure what this error means or how I can resolve it - any insight is much appreciated.</p>