Uncategorized
Uncategorized Contents
Summary How to bind a nested xml to a repeater control with Container.DataItem?
If you have a nested XML structure, than you simply can not bind it to a repeater control and expect that you can get the result from the XML file. For that purpose you will need to change a bit code of Container.DataItem. In the following example I assume that you know how to include a repeater control with Visual Studio. I am using the following XML file.
The following code will bind the ID and the value of the MainCategory element to the repeater control.
Partners
Dream.In.Code dotNet Slackers dotNet Spider Your HTML Source VisualBuilder.com DevGuru Planet Source Code ZVON.ORG Web Design ASPAlliance XML Pitstop Scripts
The Spot 4 SAP Bitshop Web Hosting