...

View Full Version : xml in to Gridview?



shai6sense
01-18-2012, 02:48 PM
hi all

i have an XML items list and i want to display it the best way i can give the user.
i tried this so far :
XmlDocument doc = (XmlDocument)JsonConvert.DeserializeXmlNode(json);
string xml1 = GetXmlString(doc);
doc.LoadXml(xml1);
StringReader sr = new StringReader(xml1);
DataSet dataset = new DataSet();
dataset.ReadXml(sr);
DataTable id = dataset.Tables[1];
GridView1.DataSource = id;
GridView1.DataBind();
but this just read the xml and give the data. and i need that if i have a column that have the icon of the item i want the user to see the icon and not the URL the image is taking from...this is the main problem i have with the why i show the data now (and i want to remove some columns as well)

i hope you can help me, or give any tips on how to make this more nice to the user. thanks in advance.
shai



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum