Asp xml file write
The content you requested has been removed. Ask a question. Quick access. Search related threads. Remove From My Forums. Answered by:. Archived Forums. Sign in to vote. User posted Hi Guys, Environment: asp.
Thanks Sham. Thursday, June 7, PM. Please post relevant if that can't help. Sunday, June 17, PM. User posted I created xslt file to display the records. Improve this question. Andreas Andreas 2 2 gold badges 8 8 silver badges 19 19 bronze badges. Not even read the docs for XDocument, but the problem is clear,. Save on. Add a comment. Active Oldest Votes.
I had the same issue, and FileStream works for me. Create fileStream, settings ; Remember to use the following lines of code to prevent the file from being truncated. Flush ; fileStream. Flush ;. Improve this answer. Avantol13 10 10 silver badges 20 20 bronze badges. Walter Arguello Walter Arguello 61 1 1 bronze badge. In your case, if you have a look with Visual Studio at what overloads of the Save method are available, you'll find these ones: public void Save Stream stream ; public void Save TextWriter textWriter ; public void Save XmlWriter writer ; public void Save Stream stream, SaveOptions options ; public void Save TextWriter textWriter, SaveOptions options ; The reason why you have a compilation error is now pretty clear.
Solved it with a simple FileStream. Open ; xdoc. Save fileStream ; — Andreas. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. Is this page helpful? Please rate your experience Yes No.
0コメント