Hi,
I think your problem is an inconsistency between your xml data and your data binding. Your query produces “book” elements but you are trying to bind to “Address” elements.
To be consistent you need to create schema (alta_schema.xsd) that defines “book” with child nodes “State”, “Zip” and “City”, then bind to “book” using
DataGrid1.DataMember = "book"</pre><BR>You don't need to use the schema, so you could also delete the two lines:<BR><pre class="ip-ubbcode-code-pre">reader = New XmlTextReader("c://inetpub//wwwroot//TestareTamino//alta_schema.xsd")
adapter.FillSchema(ds, reader)
…but your binding must still match your data.
Hope this is clear…
#API-Management#webMethods-Tamino-XML-Server-APIs#webMethods