Зміст курсу
Introduction to .NET with C#
Introduction to .NET with C#
2. Asynchronous Programming and Introduction to Web Services
3. Introduction to Databases with .NET
Task - Executing Stored Procedures
The following program contains the code for creating a Stored Procedure called SetupTable
. SetupTable
, when executed, creates a new table called Employees
and populates it with 5 rows of data. In the end, it also returns the FirstName
, LastName
, Position
, and Salary
of the top three employees based on the Salary
column.
This program already creates a stored procedure when it starts. Your task is to write the code for executing the SetupTable
and display the three rows returned after the execution. The following should be the output of your program:
Все було зрозуміло?