C# Resources

Visual C# Windows and Web Forms tutorials

These tutorials give step-by-step instructions for common scenarios, which makes them a good place to start learning about the product or a particular feature area.

 

These C# tutorials include windows forms programming tutorials including data binding, xml, xmlschema, files, master detail, user input, ditributed web applications, dynamic context menus, windows services, tables, retreiving dialog box information, updating status bar information, switching menus on windows forms, displaying data in gridview, user input in web forms, creating web applications in visual c#.

Distributed Applications Tutorial

Creating a Distributed Application
Explains how to create a multitiered, distributed application that has both a rich Windows client and a browser interface.

Data tutorials

Reading XML Data into a Dataset
Describes how to read XML data onto a form.
Validating User Input in a Web Forms Page
Describes how to use Web Forms validation controls to check for required entries, data types, ranges, patterns, and specific values.
Creating a Master-Detail Windows Form
Describes how to build a parent-child data relationship on a Windows Form.
Creating Read-Only Data Access in a Web Forms Page
Describes how to create a Web Forms page with an ASP.NET DataGrid server control on it that uses a data reader to display read-only data.
Displaying Data in a Windows Form Using a Parameterized Query
Describes how to create a Windows Form with individually bound controls that display different data depending on what the user enters into a text box.
Mapping Data Source Tables to Dataset Tables
Describes how to map the structure of tables in a data source to the structure of a dataset.
Simple Data Access in a Windows Form
Describes the steps to create a Windows Form containing a data grid that displays information from a SQL Server database.
Creating a Dataset with Tables, Keys and One-to-Many Relationships
Describes the steps to create a dataset and use it to validate data in a one-to-many or keyed relationship.
Creating an XML File with an Associated XML Schema
Describes the steps for creating an XML file and a schema, associating the two, and working on the XML file in the designer's XML view.
Creating an XML Schema with the XML Designer
Describes the steps to create an XML purchase-order schema as part of a Windows application.
Handling a Concurrency Exception
Creates a Windows application that raises a concurrency error and illustrates one strategy for handling it.

XML Web Services tutorials

Creating an XML Web Service Using Visual Basic or Visual C#
Explains how to create an XML Web service that converts temperatures measured in Fahrenheit to Celsius.
Accessing an XML Web Service Using Visual Basic or Visual C#
Describes how to make use of an existing XML Web service.

Windows Forms tutorials

Creating a Simple Windows Form
Describes how to build and run a simple Windows Form.
Simple Data Access in a Windows Form
Explains the steps for creating a Windows Form to display data in a grid.
Creating Dynamic Context Menus on Windows Forms
Steps through a detailed example of creating a single context menu to serve two or more different controls.
Switching Windows Forms Menu Structures Based on Application State
Gives directions for switching between MainMenu objects programmatically.
Demonstrating Visual Inheritance
Describes how to create a base Windows Form and compile it into a class library. You will import this class library into another project, and create a new form that inherits from the base form.
Creating a Multipane User Interface with Windows Forms
Describes how to create a multipane user interface that is similar to the one used in Microsoft Outlook.
Creating a Windows Service Application in the Component Designer
Describes how to create a long-running executable file that does not have a user interface.
Calling XML Web Services from Windows Forms
Describes how to make calls to XML Web service methods from a Windows application.
Retrieving Dialog Box Information Collectively Using Objects
Gives directions for using an object to expose a group of related data from a dialog box.
Updating Status-Bar Information at Run Time
Gives directions for programmatically controlling the data within status bar panels.

Web Forms tutorials

Creating a Basic Web Forms Page
Illustrates the basic techniques of how to create a Web Forms page in Visual Basic or Visual C#, add controls to it, and run it.
Creating a Web Application Using Visual C# or Visual Basic
Describes how to write a Web Forms application and then integrate a business-object component that gives you a 10% discount for purchases.
Creating a Web Application Using a Third-Party Business Object
Describes how to write a Web Forms application using Managed Extensions for C++ and then integrate a third-party business-object component that gives you a 10% discount for purchases.
Validating User Input in a Web Forms Page
Describes how to use Web Forms validation controls to check user entries without code, including required entries, data types, patterns, and specific values.
Displaying Data in a Web Forms Page
Illustrates a basic data-access scenario, providing step-by-step instructions for how to create a Web Forms page that displays data in a grid control.



eXTReMe Tracker

Links: