XML in ASP.NET

asp.net United States
  • 17 years ago

    I have taken an XMLDocument pulled out certain Nodes, put it back into a String, added a XML Hdr and Footer to make it well formed, loaded into a DataSet as follows and binded it to a DataGrid but it is not showing all the data.
        Dim sr As StringReader = New StringReader(sXML)
        Dim xmlRdr As System.Xml.XmlTextReader = New System.Xml.XmlTextReader(sr)
        ds.ReadXml(xmlRdr), dsTrans.DataSource = ds, dsTrans.DataBind()


    Am I loading the dataset correctly and how can I see what it loaded into the DataSet?



Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Nine people can't make a baby in a month.” - Fred Brooks