コード例 #1
0
        public void TestGeneratedRandomFileNameWithSimpleClass2AsData()
        {
            SimpleClass2 data = new SimpleClass2()
            {
                Name = "Tigabelas",
                Age  = 20,
                BOD  = new DateTime(1994, 04, 20)
            };

            String generatedReportFileName;

            XlReportGenerator.Generate(data, "D:\\Test", "Report 1235", out generatedReportFileName);
        }
コード例 #2
0
        public void TestGeneratedRandomFileNameWithSimpleClass2AsData()
        {
            SimpleClass2 data = new SimpleClass2()
            {
                Name = "Tigabelas",
                Age = 20,
                BOD = new DateTime(1994, 04, 20)
            };

            String generatedReportFileName;
            XlReportGenerator.Generate(data, "D:\\Test", "Report 1235", out generatedReportFileName);
        }