Option 1: From VS .NET IDE, select menu Tools, Options. In
Environment/Documents section, check 'Detect when file is changed outside
the environment' and 'Auto-load changes (if not....)' options and click OK.
Option 2: Use a different file name each time you save the dataset to an XML
file.
HTH.
"s-galit" <sg****@discussions.microsoft.com> wrote in message
news:11**********************************@microsof t.com...
i dont want the user to see that message
what can i do?
"Shiva" wrote:
Hi,
Likely that you have opened the XML file in your VS .NET editor and you
are trying to overwrite that file through your program.
Click Yes on the prompt to see the new XML file content in the editor.
"s-galit" <sg****@discussions.microsoft.com> wrote in message
news:55**********************************@microsof t.com...
im trying to save the content of a DataSet to xml file but im getting the
message-
" This file has modified outside of the source editor
do you want to reload it ? "
what im missing?
this is what i have wrote-
dataset1.AcceptChanges
dataset1.WriteXml("PathFile.xm")
thanks