title: How can I get the value of a cell in a DATAGRID?
body: <p>Trying to get a Cell value from my DATAGRID using ASP.NET C# and I get error message saying "Object reference not set to an instance of an object". Here is what I have:</p>
  
  <pre><code>foreach (DataGridItem dgItem in dgPrintTicket.Items)
  {
      string itm = dgItem.Cells[1].FindControl("Item_Number").ToString();
  }
  </code></pre>
  
  <p>Thank you</p>