Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            DataExporter exporter = null;

            // Lets export the data to Excel file
            exporter = new ExcelExporter();
            exporter.ExportFormatedData();

            Console.WriteLine();

            // Lets export the data to PDF file
            exporter = new PDFExporter();
            exporter.ExportFormatedData();
            Console.ReadLine();
        }
Ejemplo n.º 2
0
Archivo: Program.cs Proyecto: GAlex7/TA
        public static void Main()
        {
            DataExporter exporter = null;

            // Lets export the data to Excel file
            exporter = new ExcelExporter();
            exporter.ExportFormatedData();

            Console.WriteLine();

            // Lets export the data to PDF file
            exporter = new PDFExporter();
            exporter.ExportFormatedData();

            Console.WriteLine();

            // Lets export the data to Word file
            exporter = new WordExporter();
            exporter.ExportFormatedData();
        }