Summary


This chapter has introduced some of the methods of displaying data under .NET. System.Windows. Forms includes large number of classes to be explored, and this chapter used the DataGridView and DataGrid controls to display data from many different data sources, such as an Array, DataTable, or DataSet.

Because it is not always appropriate to display data in a grid, this chapter also discussed how to link a column of data to a single control in the user interface. The binding capabilities of .NET make this type of user interface very easy to support, because it's generally just a case of binding a control to a column and letting .NET do the rest of the work.

Furthermore, this chapter explored the integration of Visual Studio .NET and XML schemas. It discussed XSD and automatic code generation, and presented a minimal implementation of XSD using a hand- crafted example. Using an XSD schema to generate DataSet code can save you a lot of time (and typing), because this tool takes care of all of the underlying code.

Chapter 25 explores in more detail how you can use XML in Visual Studio .NET, and how well it has been integrated into the .NET Framework.




Professional C# 2005
Pro Visual C++ 2005 for C# Developers
ISBN: 1590596080
EAN: 2147483647
Year: 2005
Pages: 351
Authors: Dean C. Wills

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