code to generate a excel sheet and to write data into it ---
-it has to fetch the excel
sheet which is in one folder placed by us inside a project
folder(i,e it has to create a instance of that excel sheet)
and write the data into it row by row please respond as
early as possible
Answer Posted / uiky
string outputFile1 = "C:\\abc.xls";
FileInfo outputFileInfo1 =
new FileInfo(outputFile1);
FileStream outfs1 = null;
if(outputFileInfo1.Exists)
outfs1 =
outputFileInfo1.Open(FileMode.Open);
else
outfs1 =
outputFileInfo1.Open(FileMode.CreateNew);
TextWriter tw1 = new
StreamWriter(outfs1);
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
Can list contain duplicates c#?
What is a generic in c#?
What is a hash table in c#?
How long does it take to learn c# for unity?
Explain the difference between and xml documentation tag?
What is bit in c#?
What do you mean by casting a data type?
Define c# and list the features.
What is the difference between structure and class in c#?
Is c# used for any core features of windows vista?
How do I edit a dll file?
Can namespace contain the private class?
Is it good to use var in c#?
What does .length do in c#?
hi my question is about understanding a text the user entered to a site , so i want to analyse that text looking for some specific items such as "honda" "shoffere" etc.. so if this site could help or could tell me where to go with such question ,i wonder. thanks