warren wee

warren wee

  • NA
  • 10
  • 6.3k

Having problems working with C# and Excel

Jan 26 2012 8:47 PM
Hi everyone! I am Warren, a student in engineering now.

I am given a project to do using C#, but I am stucked with my project for 5weeks already.

My project scope was to import data from Excel into datagridview in C# and it must be able to save back as the same filename if edited.
Another part of the project is to plot multi-line graphs with data from the Excel file in C#.

Excel files that I have is saved in a folder,it contains about 6 columns of data.

I have completed the importing part through OLEDB and I have somehow done the exporting(save) part. But I was unable to automatically save after editing, it prompts me twice where to save. (The code contains, savefiledialog and workbook.saveas. I think that is the problem why it prompts me twice.
But I have no idea how to edit the code.)

My project deadline is 1 and a half weeks time, I have been trying really hard to get it done for this passed few weeks.
But sad to say I am stucked.

I really hope someone out there can help me out! You can email me at : [email protected]
Sorry for any inconvenience made.

Thank you in advance! Appreciated!

Best Regards,

Warren Wee


Answers (4)