八月
12
2005

101 Samples for Visual Studio 2005

Microsoft has released a compilation of 101 code samples in both Visual Basic and C# for Visual Studio 2005 and the .NET Framework 2.0. Samples include base class library samples, data access samples, web development samples, and windows forms samples.

Base Class Library Samples Include:

  • Changing ACL (Access Control Lists) on files
  • Console Enhancements including buffer control, simple animations and colors
  • Downloading files using FTP (File Transfer Protocol)
  • Network Programming including PING, UDP, and TCP network statistics
  • Using the new Stopwatch class to measure time
  • Data Access Samples Include:

  • Asynchronous Queries
  • Attaching a database with your application
  • Creating and using User Defined Types with SQL Server 2005
  • DataReader vs. DataSet comparision
  • DataSet and DataTable Enhancements
  • Performing Batch Updates and Data Paging
  • Performing Bulk Updates
  • Reading and Writing Images from a Database
  • Web Development Samples Include:

  • Using SQLCacheDependency for caching
  • DataBinding using the ObjectDataSource, SqlDataSource, and XmlDataSource objects
  • Create a Master/Details view using the DataGridView and DetailsView controls
  • Basic Master Pages, Nested Master Pages, and Browser-specific Master Pages
  • Using the new membership controls including the LoginStatus, LoginName, LoginView,CreateUserWizard controls

    Windows Forms Samples Include:

  • Running Asynchronous Tasks
  • Storing Custom Client Settings
  • Creating Master/Detail Forms
  • Playing, Looping, and asynchronously using Sounds
  • Using BindingNavigator for static and dynamic data
  • Using BindingSource for static and dynamic data including objects
  • Extending ClickOnce to programmatically check for updates
  • Customizing the DataGridView control with different column control types
  • Download all 101 samples at The Visual Studio 2005 Developer Center

    Related Posts

    About the Author: 阿維

    阿維雜記本的偷懶維護者

    Comments are closed.