Q&A

Q1:You had me write all this code yesterday. What should I do: write the code or use the wizards?
A1: When designing Windows Forms applications, using the wizards is a highly effective and efficient way to write all your data access code. Most developers like to separate their data logic into components, but the Data Form Wizard isn't an effective way to do that. Either way, if you're new to ADO.NET, using the tools in Visual Studio .NET to learn the syntax for data access is a good idea.
Q2:You said DataReaders are lightweight and incur less overhead cost. But everything I learned today used DataSets, not DataReaders. Why?
A2: Because DataReaders don't support databinding, they're not very useful in Windows Forms, where you can use databinding ...

Get Sams Teach Yourself Visual Studio® .NET 2003 in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.