Hi frienz,
2day i'm binding grid with an xml stream
DataSet ds = new DataSet();
System.Xml.XmlDocument doc = new System.Xml.XmlDocument();
doc.LoadXml("<?xml version='1.0' encoding='utf-8'?><RechargeNow><st-code>77</st-code><st-desc>Wrong Requested IP</st-desc><st-no> 540</st-no><st-tno>-1</st-tno></RechargeNow>");
ds.ReadXml(new System.IO.StringReader(doc.OuterXml));
GridView1.DataSource = ds;
GridView1.DataBind();
i think it will help u...
Have a nice day... 'N happy Coding :)
No comments:
Post a Comment