title: how to use ExportToExcel dll for creating excel in asp.net
body: <p>i am using  ExportToExcel dll.In first iteration my dataset contain below record </p>
  
  <pre><code>KeyName English Hindi
  Name    engval  hival
  
  And second iteration my dataset conatin below record
  
  KeyName English Hindi
  Name    engval  hival
  </code></pre>
  
  <p>i have to create xsl file on run time one by one as below.how to apply the style on it
   that it look like good.</p>
  
  <pre><code>hindi.xsl    
  
  KeyName English Hindi
  Name    engval  hival
  
  punjabi.xsl
  
  KeyName English panjabi
  Name    engval  punjabival
  </code></pre>
  
  <p><strong>Edit:using GridViewExportUtil</strong></p>
  
  <p>i am trying to create xsl one by one.below is my logic</p>
  
  <pre><code>for(int i=0;i&lt;2;i++)
  {   
  
  //
  
  ****logic here to get the record from db and fill the record into dsexcel***
  
  //
  gvruntime.DataSource = dsExcel;
  gvruntime.DataBind();
  string headername = string.Empty;
  headername = i+".xls";
  GridViewExportUtil.Export(headername, this.gvruntime);  
  }
  </code></pre>
  
  <p>in this case only last file is overight to previous one..pls tell me how to resolve it</p>