Yahoo! Bookmarks   |   Yahoo! Bookmark it!   |      
JotNow.net - Submit articles or short notes. Share your stories, knowledge, experiences and stuff.
        jot here now & share knowledge, it's a good thing!
3/10/2010 6:37:44 PM  GMT    
 
Latest Articles

Submit Articles, Short Notes, Stories, Links, etc.  (No Login Needed)

Contents

JotNow! Blog

Popular Searches:
Software | .Net | Business | Humour | More... | Categories


 



Exporting Data: Creating XML Files using C#
Ads:

Do You Want To Work From Home? Use This Proven System To Make Up To $10,000 Per Month, GUARANTEED!

I've personally tried it and it works!

www.FreeMarketingSchool.com

Visit now to receive $2,500 life - changing training for FREE!

By: Vin Bhat
Category: Software


When you want to export data, you can choose formats such as XML or csv for the data files. The XML format is more widely used for its flexibility and is desirable by many systems to be able to process the data. This article explains how to create xml files from C# classes.

Situation: Where would you use it:
- When you have to export data from one system to another system on a different platform
- When you have to setup scheduled jobs to export data
- When you want to keep a backup of key data on a regular basis. Though the database will give (better) alternatives, this technique will help you in shared hosting environments where you may want to keep a good backup of users who have signed up on your site, on a daily basis, for example.

This article touches the following technological aspects:
- C# class library
- Creating XML Schema (XSD)
- Generating C# Class file from XSD
- Generating XML files from C# object using XmlSerializer

See full article with diagrams: http://vinbhat.wordpress.com/2008/08/19/exporting-data-creating-xml-files-using-c/

 

Comments:

 

Add Your Comments:

Your Name (Optional):                    Email Address (Optional. Will be kept confidential):  Confirm Email
    

Your Comments (Required):

To make text bold, enclose within >> and <<

By submitting your comments you agree to our terms of service.


Total Jots =
116
Total Views =
42,687
Total Deleted =
01
Spams & inappropriate jots will be deleted.