write xml
public text v1 · immutable /// <summary>
/// Converts the passed in DataSet into XML and writes that data
/// to the XML file defied in the GlobalConstants Class
/// </summary>
/// <param name="AllProductData">DataSet of AllProductData</param>
public static void writeAllProductData(DataSet AllProductData)
{
try
{
AllProductData.WriteXml(GlobalConstants.XMLDataFile);
}
catch (Exception ex)
{
throw ex;
}
}