Creating Connections to Data in Your Project
Visual Studio 2005 introduces the concept of a project data source. In Visual Studio .NET 2003, you can drag a table from Server Explorer and drop it onto a form, and it automatically generates a data-bound user interface (UI), using a Datagrid control. In Visual Studio 2005, you must first create a project data source and then bind your controls to it. The data source can be created from tables in a database, from data returned from a Web service, or from any object that exposes one or more public properties. Compared with Visual Studio .NET 2003, the use of project data sources in Visual Studio 2005 gives you much more flexibility in the data to which you can bind and the way Microsoft Windows Forms ...
Get Microsoft® Mobile Development Handbook 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.