title: Import Excel to Datagridview
body: <p>I'm using this code to open an excel file and save it in a DataGridView:</p>
  
  <pre><code>string name = "Items";
  string constr = "Provider = Microsoft.Jet.OLEDB.4.0; Data Source=" + Dialog_Excel.FileName.ToString() + "; Extented Properties =\"Excel 8.0; HDR=Yes;\";";
  OleDbConnection con = new OleDbConnection(constr);
  OleDbDataAdapter sda = new OleDbDataAdapter("Select * From [" + name + "$]", con);
  DataTable data = new DataTable();
  sda.Fill(data);
  grid_items.DataSource = data;
  </code></pre>
  
  <p>As explained on:
  <a href="http://www.youtube.com/watch?v=o2lzV9MKGBk" rel="nofollow noreferrer">This youtube link</a></p>
  
  <p>But I get an ISAM error. Any suggestion?</p>