C# Programming Class

C# Programming Courses in Cape Town

In 2KO's C# Programming course in Cape Town, delegates learn how to use Visual Studio and Visual C# to build Windows applications to run on the .NET 2.0 platform. The course covers C# language essentials, Windows Forms, Windows Forms controls, and new Windows Forms events. Students learn to use new .NET 2.0 features like Application Events and the My namespace, to access data using the new objects in ADO.NET including the DataReader, DataAdapter, DataTable and DataSet classes. to build solid applications using the new Try/Catch block and Exception Object for efficient error trapping and Event logging and Breakpoints for effective debugging, to access legacy code in COM components and remote code in Web Services, to use ADO.NET to manage data through table constraints, data-binding and transactions, and to deploy your application effortlessly by understanding how to use Click-Once deployment. 2KO is an IT consulting and training company, offering both business services and multi-platform training. 2KO Africa's wide range of computer courses are available as full time classes, or as online learning, enabling 2KO students the opportunity to study courses online world-wide, to ensure students have access to the best C# database training.


The C# Programming Course

5 days full time from 8am to 4pm

Training Venue:

Cape Town


Overview of C# Course
Learn about the new Windows Forms
See the new Application events
Understand how to trap Windows Forms events
See the latest Windows Forms controls
Become familiar with intrinsic .NET data types
Learn how to access data using ADO.NET
Work with the new Visual C# debugging features
Learn how to work with the Windows file system
Learn the role of DataSets and DataTables in ADO.NET
Understand error handling using Exception objects
Learn how to create data-bound application
See how Visual C# can access COM components
Access remote functionality through Web Services
Learn to create MDI applications
See how to effectively deploy your Visual C# applications


C# Training Course Prerequisites
Experience in the following areas would be beneficial.
JavaScript or Java
General Programming Experience

C# Training Course Outline
Intro to .NET
Why .NET?
The .NET Framework
Creating a Simple .NET Application

Working with the Visual Studio IDE
Introducing Visual Studio 2005
Starting Visual Studio 2005
Changing Options
Windows and Tabs
Creating a New Project

Introduction to Windows Forms
.NET Does Windows
Adding Controls to a Form
A Peek behind the Scenes
Adding Event Handling Code
Adding a Menu to the Form
Adding Non-Graphical Components

Taking Advantage of the Form Event Model
Handling Events
Displaying Forms
Creating Dialog Forms
Form Events
Keyboard Events
Mouse Events
Validating User Input

Common Windows Forms Controls
Investigating Windows Forms Controls
Label, TextBox, and Button
CheckBox and RadioButton
ComboBox, ListBox, and CheckedListBox
LinkLabel, NumericUpdown, PIctureBox and ProgressBar

Exception Handling
Perspectives on Exception Handling
Getting Started with Exception Handling
Adding a Simple Try/Catch Block
Unhandled Exceptions
Using an Exception Object
Catching Specific Exceptions
Raising Errors
Running Code Unconditionally

Working with Strings and Dates
Basic .NET Data Types
Working with Text: The String Class
Working with Dates and Times

Accessing Data
Overview of ADO.NET
Connecting to Data
Executing Commands
Working with Data
Choosing an ADO.NET Provider

Data Binding Techniques
Data Binding Basics
Creating a Data Source
Creating Data-Bound Forms
Data Binding Components and Controls
Displaying Data from Related Tables
Displaying Data from Lookup Tables
Adding Search Capabilities to a Form
Filtering by Values from a Lookup Table
Working with Local Data

Using the Data Controls
Display Data using the DataGridView Control
Make the Most of the DataGridView Control
Understand the BindingSource and BindingNavigator Controls

Handling Input/Output Tasks
Introducing the System.IO Namespace
Selecting Files
Browsing for Folders
Handling Path Information
Working with Directories and Files
Using Stream-Based Objects to Read and Write File Contents

Project Settings in Visual Studio
Understand the Project Properties Window
Controlling the Build Process
Debug Settings
Managing References
A Quick Introduction to Security Settings

Editing application resources and settings
Introducing Resources and Settings
Adding Resources
Configuring Settings
Interact with Resources and Settings in Code

Debugging Your Applications
Configuring the Debugging Environment
Debugging Syntax Errors
Configuring Debugging in Visual Studio
Setting Breakpoints and Stepping through Code
Exploring the Debugging Windows
Using New Visual Studio 2005 Debugging Features
Writing to the Windows Event Log

Container Controls
Working with Containers
Panel and GroupBox
Tab Control
TableLayoutPanel and FlowLayoutPanel

Menus and Toolbars
Not Your Fatherís Menus and Toolbars
Introducing the ToolStrip Control
Working with the MenuStrip Control
Moving and Docking: the ToolStripContainer Control
Modifying Menus and Toolbars
Working with Menus and Toolbars in Code

Creating MDI Applications
Working with MDI Parents and Children
Managing Menus and Toolbars in MDI Applications
Detecting Which Child is Active
Handling Shutdown of MDI Applications

Complex Windows Forms Controls
Digging Deeper into Windows Forms Controls
DateTimePicker, ListView
MonthCalendar, RichTextBox,
NotifyIcon, ToolTip,
TreeView, WebBrowser

Creating Custom Controls
Control Creation in Windows Forms
Inheriting from an Existing Control
Drawing Your Own Custom Controls
Creating Composite Controls

Windows Forms Components
Working with Windows Forms Components
BackgroundWorker Component
FileSystemWatcher Component
PerformanceCounter Component
Process Component
ServiceController Component
Timer Component

Calling COM Components
You Still Can Call the Win32API
Introducing Creating and Consuming Web Services

Deploying Applications using Click-Once
Publishing an Application
Setting Publish Options
Updating a Deployed Application
Rolling Back an Update
What Happens When You Publish an Application?
What Happens When You Publish an Update to an Application?
ClickOnce and Security
Using the Deployment API to Manage Updates

Course Duration:

1 week