Database Archive

It is very easy code…. You just have to use WriteXml() function here is sample code………   public DataSet GetLocationByMandate() { new SqlConnection("Data Source=.;Initial Catalog=login;Integrated Security=True"); DataSet Ds = new DataSet(); SqlDataAdapter Da = new SqlDataAdapter("your quary",connection); Da.Fill(Ds); Ds.WriteXml("locations1.xml");...