ArticleTrader.com
  

 Main Menu

  Home
  Member Login
  Forum
  Submit Article
  RSS Feeds
  Contact Us
  About

 Services

  Article Distribution
  Link Building

 Tools

  ArticleMS
  Directory Tracker
  Earn with your Site

 Categories

  Automotive
  Business
  » Advertising
  » Branding
  » Career
  » Communication
  » Customer Service
  » Management
  » Marketing
  » Networking
  » PR
  » Sales
  » Small Business
  Computers
  Entertainment
  Finance
  Food
  Health
  Home and Family
  Internet
  Legal
  Science
  Self Improvement
  Shopping
  Society
  Sports
  Technology
  Travel
  Writing

91 users online.



 
  » Category Sponsors
  Get Your Link Here - Limited Time Bargain at only $11/month!

Home » Business » Career » Dot Net: XML and Dataset
0
Votes
Vote Now
Article Stats:
Total views: 14
Word Count: 350
Character Count: 2294
Options:
Get Html Code
Get PDF
Print View

Dot Net: XML and Dataset

Submitted by adamsturo

A Dataset is a basket that stores data obtained from data source .This data source can also be XML document .there may be different type of dataset typed or untyped. A typed dataset consists of XML schema .but untyped dataset doesn’t have this type of schema in it. There are so many features that are avail in typed dataset just like we can change XSD file. XML schema is just similar to typed dataset representation and both are available as XSD files. When we store XML document into a Dataset XML schema validate the data that is fetched from XML document.

The XML schema contains whole information about the relation structure .It contains information regarding table, constraints and relation .In .NET XSD file is used to gernate data for the Dataset objects .There are different object that contains methods that enables you to work with XML data . We can also use ADO.NET to transfer data between XML files and dataset objects .This ADO.NET helps us to write dataset data as XML data.ADO.NET also helps to view XML schema and XML document.

Dataset use diffgram to store and preserver all version of data that contains. A Diffgram we know is one of XML format. We can also uses diffgram in other way just like to differentiate between the original and current versions of data. Diffgram contains full information to recreate Dataset .But this diffgram format not helps in populated or recreate XML-schema.

Dataset use diffgram in other way just like use diffgram format to serialize data for transmission across the network. We use ReadXML method of Dataset object to read and load a Dataset from an XML document.Ths method takes two arguments. First argument is XML data and other XMLReadMode argument. There are number of method that’s available in XML relate methods of a Dataset objects.

(1)GetXML:-This method helps us to get data stored in dataset in string variable.
(2)GetXMLscheama:-This method helps to retrieve the XSD schema for XML representation.
(3)ReadXML:-To read data stored in Dataset.
(4)ReadXMLSchema:-this helps to get XSD schema for XML representation.
(5)WriteXML:-To write data to DataSet.
(6)WriteXMLSchema

Learn more about Xml Interview Questions

About the Author

Adam Sturo provide you the best and latest info on Sql Server Interview Questions and Dot Net Interview Questions


Source: ArticleTrader.com

Comments

There are no comments for this article, you can be the first to post a comment.

You must be logged in to comment.
Login Now or
Register Free Account

 Top Authors

 1 alien82 (2485)
 2 juliet (1604)
 3 sverdlow (1525)
 4 limalan88 (1116)
 5 AnthonyF (1055)
 6 IC (935)
 7 cdmohatta (767)
 8 lets_j2top@ya.. (727)
 9 isolvum (723)
 10 jkhbraveheart (629)
 11 jarnold (618)
 12 prabakar (575)
 13 homebizbuilder (518)
 14 reedstickets (485)
 15 cj (484)
  » Member List

 Latest Forum

» Article Directory not showing
» ArticleMS 2.0 beta 3
» shameless plug
» MYSQL Auto Backup Script?
» Best ArticleMS Skin
» Replace author text

 Sponsors

Advertise Here
Commercial Water Removal
Phone cards


  
  Affiliate Program 2Checkout.com, Inc. is an authorized retailer of ArticleTrader.com

0.28s