I have a webform where I am sending emails with attachments.
The attachments are formfields.text and the file is saved as an xml-file.
The problem is when I am opening the xml-file I get the "" from the code in
the file
Here is my code:
FileOpen(1, "C:\vb\WebBrows er\WebBrowserCo ntrol\TESTFILE. XML",
OpenMode.Output )
WriteLine(1, "<?xml version=""1.0"" encoding=""ISO-8859-1"" ?>")
WriteLine(1, "<XMLForsendels e>")
WriteLine(1, "<PasientFornav n>" & txtFornavn.Text & "</PasientFornavn> ")
WriteLine(1, "<PasientEttern avn>" & txtEtternavn.Te xt &
"</PasientEtternav n>")
WriteLine(1, "</XMLForsendelse> ")
FileClose(1)
regards
reidarT
The attachments are formfields.text and the file is saved as an xml-file.
The problem is when I am opening the xml-file I get the "" from the code in
the file
Here is my code:
FileOpen(1, "C:\vb\WebBrows er\WebBrowserCo ntrol\TESTFILE. XML",
OpenMode.Output )
WriteLine(1, "<?xml version=""1.0"" encoding=""ISO-8859-1"" ?>")
WriteLine(1, "<XMLForsendels e>")
WriteLine(1, "<PasientFornav n>" & txtFornavn.Text & "</PasientFornavn> ")
WriteLine(1, "<PasientEttern avn>" & txtEtternavn.Te xt &
"</PasientEtternav n>")
WriteLine(1, "</XMLForsendelse> ")
FileClose(1)
regards
reidarT
Comment