/// <summary> /// Create a new instance of ExcelExport /// </summary> /// <param name="dataset">The dataset to export</param> /// <param name="filename">The file to export to</param> /// <param name="exportmode">The mode used to export: xml or com</param> /// <param name="tabledirectory">The direcory of column defined</param> public ExcelExport(DataSet dataset, string filename, PlateModeType exportmode, IDictionary tabledirectory) { _DataSet = dataset; _FileName = filename; _ExportMode = exportmode; _TableDirectory = tabledirectory; }
/// <summary> /// Create a new instance of OfficePlate /// </summary> public OfficePlate() { _Tags = new TagCollections(this, typeof(TagItem)); _DataSource = new DataSourceCollections(this, typeof(DataSourceItem)); _EmailAddress = string.Empty; _EmailTitle = string.Empty; _OfficeFile = string.Empty; _OutputFileName = string.Empty; _OutputPath = string.Empty; _OutputMode = OutputModeType.None; _PlateMode = PlateModeType.Xml; _FilePath = string.Empty; }
/// <summary> /// Create a new instance of ExcelExport /// </summary> /// <param name="dataset">The dataset to export</param> /// <param name="filename">The file to export to</param> /// <param name="exportmode">The mode used to export: xml or com</param> public ExcelExport(DataSet dataset, string filename, PlateModeType exportmode) : this(dataset, filename, exportmode, new Hashtable()) { }