i have an application that opens an excel file and get the values to the mdf file in visual studio database file.
the code for opening the file is below
Microsoft.Office.Interop.Excel.ApplicationClass tt = new Microsoft.Office.Interop.Excel.ApplicationClass(); String path = a; tt.Workbooks.Open(path, 0, false, 5, "", "", false, Microsoft.Office.Interop.Excel.XlPlatform.xlWindows, "", true, false, 0, true, false, false);
i have this code in a button event, when i click this a msg box appears saying "Modified by judith, Open as read only??"
y is this happeneing, how can i avoid it.