I have a requirement to create generic method/ class in C# to generate excel document using Office Writer. In documentation and all samples, it's mentioned to use pre-populated template and fill that template with data. Since I need to create header dynamically, I cannot have template file with fixed header columns. Can we create template dynamically in runtime?
Can someone help me here?