المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Creating excel file templates at runtime using C#



C# Programming
06-29-2009, 12:20 PM
Hi Guys,

I have a requirement in which i have to create folders and few excel files based on the no of launches and users during runtime.

when i click "download" button, i will have info of no of launches and no of users , so based on no of launches it should create those many folders and based on no of users in each launch, those many excel files in each folder should be created.

launches 5. then 5 folders to be created with the name of each folder is the launch name

if in launch 1, users 6 => in Launch1 folder, 6 excel files with the file name as the user name to be created. ( i mean these excel files are not default files but i have a template for this, that template with the user name should be created for this.)

if in launch 2, users 19, in Launch2 folder, 19 excel files with the file name as the user name to be created.

all this should happen at runtime...

please help me doing this

thanks

ramm