title: programmatically excel cells to be auto fit width & height
body: <p>when i convert datatable to .csv my excel sheets are generated as below:
  <img src="https://i.stack.imgur.com/Dn3O4.png" alt="enter image description here"></p>
  
  <p>and tried like below:</p>
  
  <pre><code>sw.Write(string.Format("=\"{0}\"", drow[i].ToString()));
  </code></pre>
  
  <p>then my excel sheets were like:</p>
  
  <p><img src="https://i.stack.imgur.com/bZMNr.png" alt="enter image description here"></p>
  
  <p>note that cells have =" " characters; </p>
  
  <p>i'm trying to do like auto fit width &amp; height of each cells programmatically. How?</p>