Esempio n. 1
0
        public void WriteToExcelTest()
        {
            List <UserDetails> persons = new List <UserDetails>()
            {
                new UserDetails()
                {
                    Id = 1001, Name = "ABCD", City = "City1", Country = "USA"
                },
                new UserDetails()
                {
                    Id = 1002, Name = "PQRS", City = "City2", Country = "INDIA"
                },
                new UserDetails()
                {
                    Id = 1003, Name = "XYZZ", City = "City3", Country = "CHINA"
                },
                new UserDetails()
                {
                    Id = 1004, Name = "LMNO", City = "City4", Country = "UK"
                },
            };

            TestWorkingDataExcel.WriteExcelFileTest(persons);
        }
Esempio n. 2
0
 public void ReadFromExcelTest()
 {
     TestWorkingDataExcel.ReadExcelFileTest();
 }