Workshop

IOTA^_^    

Sams Teach Yourself ASP.NET in 21 Days, Second Edition
By Chris Payne
Table of Contents
Day 11.  Using XML in ASP.NET


This workshop will help reinforce the concepts covered in today's lesson. The answers can be found in Appendix A.

Quiz

1:

When should you use an XmlTextReader versus an XmlDocument?

2:

What does XML DOM stand for?

3:

What's the difference between a node and an element?

4:

Will the following code snippet work?

 dim xmldoc as new XMLDataDocument() xmldoc.DataSet.ReadXml("books.xml") 

Exercises

1:

Create a new XML file that uses the books.xdr schema. Make sure your format is correct by using ASP.NET to validate it.

2:

Build an interface that allows users to edit XML data from a DataGrid. Be sure to write the changes back to the file.


    IOTA^_^    
    Top


    Sams Teach Yourself ASP. NET in 21 Days
    Sams Teach Yourself ASP.NET in 21 Days (2nd Edition)
    ISBN: 0672324458
    EAN: 2147483647
    Year: 2003
    Pages: 307
    Authors: Chris Payne

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net