title: insert query not working in excel file using C#
body: <p>I have executed SELECT query to get data form <strong>.xls</strong> (Ms-EXCEL) file
  which works fine</p>
  
  <pre><code> OdbcConnection con = new OdbcConnection("Dsn=XlsDB"); //Created DSN for .xls file
   con.Open();
   OdbcCommand cmd = new OdbcCommand("Select Password from [Users$] where UserName='javed'",con);
   OdbcDataReader dr = cmd.ExecuteReader();
   while (dr.Read())
   {
         if(dr[0].ToString()=="akram")
            MessageBox.Show("Welcome");
   }
  </code></pre>
  
  <p><strong>BUT</strong>  </p>
  
  <p>while inserting values in <strong>.xls</strong> file its giving error</p>
  
  <pre><code>OdbcConnection con = new OdbcConnection("Dsn=XlsDB"); //Created DSN for .xls file
  con.Open();
  
  OdbcCommand cmd1 = new OdbcCommand("INSERT INTO [Users$](UserName,Password) VALUES(@name, @pass)", con);
  cmd1.Parameters.Add(new OdbcParameter("@name", "hello"));
  cmd1.Parameters.Add(new OdbcParameter("@pass", "world"));
  cmd1.ExecuteNonQuery();  //error here
  </code></pre>