reznor
public text v1 · immutable /// <summary>
/// Reads the XML file defied in the GlobalConstants Class into
/// a DataSet to be passed back to the caller.
/// </summary>
/// <returns>DataSet of AllProductData</returns>
public static DataSet readAllProductData()
{
try
{
DataSet XmlDataSet = new DataSet();
XmlDataSet.ReadXml(GlobalConstants.XMLDataFile);
return XmlDataSet;
}
catch (Exception ex)
{
throw ex;
}
}