By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,925 Members | 732 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,925 IT Pros & Developers. It's quick & easy.

Create XML file

P: n/a
Hello friends

I want to crete an xml file based on a sql server query, and using a
specific format that include current hour, current date, the user that create
the xml file.
I'm thinking in use the vb.net language to create this file a output stream,
but I dont know if there is a better way to create this.

Note: Using a bcp I can ganerate the xml file but I canĀ“t have the format
and the vars that I need.
Thanks for help

Bruno

Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Bruno wrote:
I want to crete an xml file based on a sql server query, and using a
specific format that include current hour, current date, the user that create
the xml file.
I'm thinking in use the vb.net language to create this file a output stream,
but I dont know if there is a better way to create this.


Use XmlTextWriter class.

--
Oleg Tkachenko [XML MVP, MCP]
http://blog.tkachenko.com
Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.