Select Page
Lesson 4: Control Statements – Loops

Lesson 4: Control Statements – Loops

In the last lesson, you learned how to create a simple loop using the goto statement. I advised you that this is not the best way to perform loops in C#. The information in this lesson will teach you the proper way to execute iterative logic with the various C#...
Lesson 1: Getting Started with C#

Lesson 1: Getting Started with C#

This lesson will get you started with C# by introducing a few very simple programs. Here are the objectives of this lesson: Understand the basic structure of a C# program. Obtain a basic familiarization of what a “Namespace” is. Obtain a basic...
Lesson 07: Using Stored Procedures

Lesson 07: Using Stored Procedures

This lesson shows how to use stored procedures in your data access code. Here are the objectives of this lesson: Learn how to modify the SqlCommand object to use a stored procedure. Understand how to use parameters with stored procedures. Introduction A stored...
Lesson 06: Adding Parameters to Commands

Lesson 06: Adding Parameters to Commands

This lesson shows how to pass values into SQL Server commands with parameters. You will create a named placeholder, specify a parameter’s type and size, and add it to the command before executing a query. Keep user values separate from SQL command text.Match...