title: AutoGenerateColumns="False" Causes Empty RadGrid on Databind
body: <p>If <code>AutoGenerateColumns="True"</code> then the grid will bind with the dataset and shows the data, but if set to false will not bind and will show the NoRecords value, even though the datatable has rows.  </p>
  
  <p>What causes this, and how can I fix it?</p>
  
  <pre><code>pas.MasterTableView.AutoGenerateColumns =false;
  DataTable dt = new DataTable();
  
  dt.Columns.Add("SNo");
  dt.Columns.Add("Name");
  dt.Columns.Add("Add");
  
  DataRow dsa = dt.NewRow();
  
  dsa["SNo"] = "1";
  dsa["Name"] = "Karthik";
  dsa["Add"] = "Hyd";
  
  dt.Rows.Add(dsa);
  
  dsa = dt.NewRow();
  dsa["SNo"] = "2";
  dsa["Name"] = "krishna";
  dsa["Add"] = "Hyd";
  dt.Rows.Add(dsa);
  
  dsa = dt.NewRow();
  dsa["SNo"] = "3";
  dsa["Name"] = "kailas";
  dsa["Add"] = "Hyd";
  dt.Rows.Add(dsa);
  
  dsa = dt.NewRow();
  dsa["Sno"] = "4";
  dsa["Name"] = "Billa";
  dsa["Add"] = "Hyd";
  dt.Rows.Add(dsa);
  
  dsa = dt.NewRow();
  dsa["Sno"] = "5";
  dsa["Name"] = "asdf";
  dsa["Add"] = "qwer";
  
  dt.Rows.Add(dsa);
  
  pas.DataSource = dt;
  pas.DataBind();
  </code></pre>