Sams Teach Yourself ASP.NET in 21 Days, Second Edition By Chris Payne
Table of Contents
Day 9. Using Databases with ASP.NET
Can a DataSet hold XML data?
Absolutely. In fact, when the DataSet is traveling from the server to the client and back, it's first transformed into XML. This allows it to move data into places that normally wouldn't be accessible, such as behind restricted firewalls, which are designed to stop unauthorized data. Because XML is plain text, firewalls ignore it and allow it through.
What does the MinimumCapacity property in Table 9.1 do?
This property sets the minimum number of rows that you expect will reside within this table. Setting this property in no way restricts you from adding more rows. Instead, it sets aside memory resources ahead of time so that access to these rows will be faster during runtime. You'll get to this and other specific ADO.NET properties tomorrow.