hi ,
This is sourabh. sir i m trying to attach xml data to grid view and that file should stored in the
our web application project and i used folloing code
SqlDataAdapter sdp=new SqlDataAdapter(“select * from Customer”,con);
DataSet ds = new DataSet();
sdp.Fill(ds);
string s = ds.GetXml();
XmlDocument xdoc = new XmlDocument();
xdoc.LoadXml(s);
xdoc.Save(“D:\NewAjax\WebApplication1\sourabh.xml”);
ds.WriteXml(@“D:\Test.XML”,XmlWriteMode.WriteSchema);
but sir its not working so plz guide me for the same.
Regards
Sourabh