Data Type Conversion of XML Data
Many methods are available in the XmlConvert class to convert data from a string to a strongly-typed data type. This is useful because most methods in the XmlReader class return data as a string. Once the data is read, the data can be converted to the proper data type before being used. In addition, there are methods that convert strongly-typed data to strings, which is useful when putting data into text boxes on a Web page.