Problem with binding XMl data into nested repeater control??
-
Hello every one ! How can I display data into repeater control.. for eg. I have to display data in the following format from XML rediffHomePage(First Repeater) --HotJobs(Second Repeater) --Label rediffHomePage1(Second Repeater) --Images (Second Repeater) --Air Tickets I have to display of and below this label I have to display of FieldsToSupport/FieldToSupport for each . How can I bind repeater.. Following is structure my XML file -------------------------------------------------------------------------- 199d1dfd-63ca-4271-b234-77da0f579e0e ... 1 ... HotJobs ... ... Game ... rediffHomePage e62abc49-efc7-4a5d-908f-33f2f4df070b ... 2 .. Images .. ... Air Tickets ... rediffHomePage1 -------------------------------------------------------------------------- and the code written in c# to extract data from XML given below -------------------------------------------------------------------------- XmlDocument objXmlDocument = new XmlDocument(); objXmlDocument.Load(strAlbumPath + "\\" + strAlbumName + ".linkinfo.xml"); int count = 0; int intChildCount = 0; XmlNodeList objList = objXmlDocument.SelectNodes("/LinkInformation/ScreensToSupport/ScreenToSupport"); string lsString = ""; String strParentLabel = ""; string strChildLabel = "";