title: A field or property name was not found in the selected data source
body: <p>I have a List that reads from a stored procedure. Its only a select statement. I dont know why I get the error "A field or property name 'Ticket ID' was not found in the selected data source." What Im doing is populating the gridview with my code with pre-defined columns.</p>
  
  <pre><code>  public List&lt;SelectQueuedTickets&gt; GetQueuedTickets()
      {
          List&lt;SelectQueuedTickets&gt; QueuedTicketsList = new List&lt;SelectQueuedTickets&gt;();
  
          using (SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString))
          {
  
              using (SqlCommand com = new SqlCommand("[Reader].[usp_SelectQueuedTickets]", con))
              {
                  con.Open();
                  com.CommandType = CommandType.StoredProcedure;
                  SqlDataReader rd = com.ExecuteReader();
  
                 while (rd.Read())
                  {
                      this.TicketID = Convert.ToString(rd["Ticket ID"]);
                      this.PriorityID = Convert.ToInt32(rd["Priority"]);
                      this.FormType = Convert.ToString(rd["Form Type"]);
                      this.Summary = Convert.ToString(rd["Summary"]);
                      this.CreationDate = Convert.ToDateTime(rd["Creation Date"]);
                      this.OwnerGroup = Convert.ToString(rd["Owner Group"]);
                      this.Owner = Convert.ToString(rd["Owner"]);
                      this.Creator = Convert.ToInt32(rd["Creator"]);
                      this.AffectedUser = Convert.ToInt32(rd["Affected User"]);
                      this.OwnerEmail = Convert.ToString(rd["Owner Email"]);
                      this.AffectedUserEmail = Convert.ToString(rd["Affected User Email"]);
  
                      QueuedTicketsList.Add(this);
                  }
              }
          }
          return QueuedTicketsList;
  
      }
  
  
     protected void LoadQueuedTickets()
      {
          SelectQueuedTickets selectqueuedtickets = new SelectQueuedTickets();
          GridView1.DataSource = selectqueuedtickets.GetQueuedTickets();
          GridView1.DataBind();
      }
  </code></pre>