Transfer data from SQL to XML on C#

Welcome you!

I begin to familiarize yourself with C #, very want to find out how to create 1 file (*. xml) and then put any content on this file.
(Broader: Transfer data from a table (in SQL) to XML in C #)

I look forward to help.

Thanks a lot!

XML.org Focus Areas: BPEL | DITA | ebXML | IDtrust | OpenDocument | SAML | UBL | UDDI
OASIS sites: OASIS | Cover Pages | XML.org | AMQP | CGM Open | eGov | Emergency | IDtrust | LegalXML | Open CSA | OSLC | WS-I