title: XML Datasource and Gridview
body: <p>I have an XML file created when a process is being run and the location of that file is stored in <strong>GlobalClass.GlobalUrl</strong></p>
  
  <p>I have a grid view and after completing the process, connect the gridview to an xml datasource. this is the code that is have</p>
  
  <pre><code>XmlDataSource1.DataFile = GlobalClass.GlobalUrl
  XmlDataSource1.DataBind()
  
  GridView1.DataSource = "XmlDataSource1"
  GridView1.DataBind()
  
  
  Item
  Select  X
  Select  m
  Select  l
  Select  D
  Select  a
  Select  t
  Select  a
  Select  S
  Select  o
  Select  u
  Select  r
  Select  c
  Select  e
  Select  1
  </code></pre>
  
  <p>That is the output that i get. Some help please. by the way, the the GlobalClass.GlobalUrl is a path to an XML file</p>