Write an XML file inside the C #

0

Good evening, people,

I would like a help, the structure of my project is in accordance with the image below.

Iwouldliketoimportthedatafrommytableintothis'arq.xml'filethatisinsidetheproject.

I'mtryingtodowiththiscode:

dt.WriteXml("arq.xml", XmlWriteMode.WriteSchema);
     MessageBox.Show("Dados Exportado com Sucesso");

But it is not writing, so when I put the fullName of another path, it works. But I wanted to save in the project itself, so the project has its own xml, without having anything external, could you understand?

    
asked by anonymous 28.01.2018 / 03:35

0 answers