Sunteți pe pagina 1din 2

Data Applications Samples

http://msdn.microsoft.com/en-us/library/ee348598

Data Applications Samples


Visual Studio 2010 2 out of 4 rated this helpful - Rate this topic These samples demonstrate various data scenarios.

To access samples from Visual Studio


1. On the Help menu, click Samples. 2. In the Samples on Disk section of the readme file, click local Samples folder. By default, the samples are installed in drive:\Program Files\Microsoft Visual Studio 10.0\Samples\1033 or drive:\Program Files (x86)\Microsoft Visual Studio 10.0\Samples\1033. 3. Right-click the .zip file that contains the samples you want to open and then click Extract All to extract the samples to a folder of your choice. For the most current samples, go to the Visual Studio 2010 Samples Web site.

Security Note
Microsoft provides the included samples "AS IS" with no warranties. The code in the samples is provided just to illustrate concepts. The provided code may not meet security requirements for any specific environment. We recommend that you add security and error-handling code to your projects to make them as secure and robust as you deem appropriate.

Samples

Sample
Custom Data Controls Sample ComboBox Databinding Sample Data Search Sample Data Validation Sample Database Creation Sample

Description
Demonstrates how to use your own controls with the Data Source window.

Shows how to bind data to ComboBox and DataGridView controls.

Demonstrates how to display a subset of data from within your database.

Demonstrates the Dataset Designer and uses the PropertyChanged events to validate user input. Shows how to execute SQL statements from code to create a database, a table, a stored procedure, and a view.

1 of 2

5/25/2012 11:53 AM

Data Applications Samples

http://msdn.microsoft.com/en-us/library/ee348598

Local Data Sample

Demonstrates the local data features of Visual Studio, including the Data Sources window, TableAdapters, and the BindingSource component. Also shows how to create data-bound forms without having to write code and how to connect to a database file. Demonstrates how you can bind controls to objects other than database components. Demonstrates how to use Microsoft Synchronization Services for ADO.NET for two-tier download-only synchronization.

Object Binding Sample Occasionally Connected Data Sample Serialization Sample Stored Procedure Sample XMLDocument Class Sample

Demonstrates how to serialize and deserialize an object.

Demonstrates how to programmatically create and use stored procedures with ADO.NET and Microsoft SQL Server. Shows how to use the XmlDocument class, which exposes the XML Document Object Model, or DOM, to manipulate XML data.

See Also
Other Resources Visual Studio 2010 Samples

Did you find this helpful?

Yes

No

Community Content
2012 Microsoft. All rights reserved.

2 of 2

5/25/2012 11:53 AM

S-ar putea să vă placă și