1
Answer

save a excel shett

sayed shadab

sayed shadab

14y
10.9k
1
hello
I want to save an excel shet using save() method in C#.
Actually when i execute an program it generate a excel sheet and fills data from data base and then it automatically save the excel shett to a given file name and folder.can any body tell me how to save the excel sheet.
waiting your response
thanks

Please Reply................
Answers (1)
0
Administrator
Admin 2.3k 1.3m 22y
See Tutorials section on how to read and write from/to the registry
0
Administrator
Admin 2.3k 1.3m 22y
You can get the application path without having to write the path to the registry, try using System.Windows.Forms.Application.ExecutablePath to get the path of your application. Is there any specific reason why you want to write this to the registry?