I have a method where i pass four parameters, like,
public void loggeneration(DateTime datetime, string projectname, int totallines,int sum,int max)
{
}
within the above method, i have to create a excel sheet(if file is present already, just append the data in the last blank row) and insert the data(datetime, projectname, totallines,sum,max) in a row of five columns.
The first row by default, should be the column names.
I have tried my best, could not find the exact solution. Can somebody provide the solution? Thanks in Advance