rendered paste bodyusing System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Xml;
namespace SmartMartClientLibrary
{
internal class Products
{
public static void loadAllProductData()
{
try
{
DataSet XmlDataSet = new SmartMartWebService.SmartMartWebServices().lookupAllProductData();
DataColumn DirtyColumn = new DataColumn("Dirty");
DirtyColumn.DefaultValue = 0;
XmlDataSet.Tables["Products"].Columns.Add(DirtyColumn);
XmlDataSet.WriteXml(GlobalConstants.XMLDataFile);
XmlDataSet.WriteXmlSchema(GlobalConstants.XSDDataFile);
}
catch (Exception ex)
{
throw ex;
}
}
}
}