title: export or download gridview with custom table schema C#
body: <p><a href="http://i.stack.imgur.com/gmPQj.png" rel="nofollow">My Gridview Header</a>  I have question ..So i have Grid where the data are binding from SQL..And i will export/download file to .XML files..its success but the header table XML files are not same with "Schema" on Grid..ex= i have field
  'Actual Duty On Time In' on grid but on exporting file .XML field header name changes to 'Actual_Duty_On_Time_In'...<a href="http://i.stack.imgur.com/myyCN.png" rel="nofollow">My Table .XML Header</a></p>
  
  <p>The question is.. can i customize the "Schema" in C#...so the .XM file are same with grid schema?</p>
  
  <p>This is my code</p>
  
  <pre><code>GetData();
  DataSet ds = new DataSet();
  DataTable dtxml = ((DataView)GVHostDtl.DataSource).Table;
  ds.Tables.Add(dtxml);
  ds.WriteXml(Server.MapPath("~/" + xmlFileName));
  </code></pre>