I think there is something wrong with your XML.
Try this change and see if it leads you in the right direction?
GridView1.DataSource = ds; //.DefaultViewManager;
GridView1.DataBind();
> Hi, I have an XML file that I was hoping to use as a database
> Here is the code that I have copied that should display the data
[quoted text clipped - 96 lines]
> </vr_record>
> </vrdatabase>
Toren Valone - 14 Jul 2008 19:33 GMT
> I think there is something wrong with your XML.
>
[quoted text clipped - 103 lines]
> > </vr_record>
> > </vrdatabase>
JMsides, I tried to do what you recommended, but where is the databind
property?
When I type into the IDE i only get dataGridView1.databindings
jmsides - 14 Jul 2008 20:10 GMT
http://msdn.microsoft.com/en-us/library/fkx0cy6d(VS.80).aspx
> > I think there is something wrong with your XML.
> >
[quoted text clipped - 107 lines]
> property?
> When I type into the IDE i only get dataGridView1.databindings
Toren Valone - 14 Jul 2008 22:50 GMT
jmsides, thanks but I am not using a ASP page or server script, I am
importing those libraries and the VS2005 intellisense does not allow me to
use gridview1.databind().
> http://msdn.microsoft.com/en-us/library/fkx0cy6d(VS.80).aspx
>
[quoted text clipped - 109 lines]
> > property?
> > When I type into the IDE i only get dataGridView1.databindings