my code as follows saving the database records in to excel for that code as follows;
xlWorkBook.SaveAs(@"C:\CourseWiseReport.xls", Excel.XlFileFormat.xlWorkbookNormal, misValue, misValue, misValue, misValue, Excel.XlSaveAsAccessMode.xlExclusive, misValue, misValue, misValue, misValue, misValue);
when i save the excel,before saving the excel file message shows
A file named 'C:\courseWiseReprot.xls' already exists in this loaction.Do you want to replace it?
Yes No Cancel.
when i save the excel,when i click the button i want to show the message as follows
Excel File Created.
i want to show the above message only.
i do not want
A file named 'C:\courseWiseReprot.xls' already exists in this loaction.Do you want to replace it?
Yes No Cancel.
the previous message.
how can i do?
help me.