When I read it using readxml then I got 5 tables in dataset. and relation automatically created.
I want to bind thumImages to reapeter how can id do this.
string xmlFile = System.Web.HttpContext.Current.Server.MapPath("~/XML Database/uploadimages.xml");
DataSet ds = new DataSet();
ds.ReadXml(xmlFile);
Reapeter1.datasource = ????????????
Reapeter1.databind();

VulpesPosted Jul 18, 2011, 6:51 AM
VulpesPosted Jul 19, 2011, 3:56 AM
Vikas AhlawatPosted Jul 18, 2011, 1:12 PM
Thanks for your reply it working but now problem is that only one record displaying in repeater.
Because i think it taking XPath="/Upload/Category" as the main node
how can i display whole record with name also
is there any way to put complete xml in datatable?
Vikas AhlawatPosted Jul 18, 2011, 6:23 AM
it gives error as- 'Images/Imagepath@ImgPath' has an invalid token.
Vikas AhlawatPosted Jul 18, 2011, 6:10 AM
Vikas AhlawatPosted Jul 18, 2011, 5:35 AM
I want to bind Category ID and its Name aslo, but it is not in the ThumImage table.
I want to get all result in one table with join, can i Use xmlschema for this?
VulpesPosted Jul 18, 2011, 4:56 AM