Question: Tutorial 1 0 - 2 : Sorting and updating the SalesStaff table In this tutorial, you will learn more about the capabilities of the DataGridView

Tutorial 10-2:
Sorting and updating the SalesStaff table
In this tutorial, you will learn more about the capabilities of the DataGridView control's ability to add, delete, and modify data.
Step 1: Open the SalesStaff 1 project you created in Tutorial 10-1.
Step 2: Run the application.
The Full_Time column holds True and False values-such columns are designed as type bit in the SQL Server database. The DataGridView control always displays bit values in a CheckBox control.
Step 3: Currently, the rows are listed in ascending order by ID number. Click the Last_ Name column heading and watch the grid sort the rows in ascending order by last name (see Figure 10-16).
Step 4: Click the Last_Name column again and watch the rows sort in reverse on the same column.
Figure 10-16 Sorting on the Last_Name column
Company Sales Staff Table
\table[[,ID,Last_Name,First_Name,Full_Time,Hire_Date,Salary],[,104,Adams,Adrian,,1/1/2010,35007],[120,Baker,Barbara,,422?2003,32000],[404,Del Terzo,Daniel,,79?2007,37500],[302,Easterbrook,Erin,,7/9/2004,22000],[135,Ferriere,Henri,,11?2010,57000],[114,Franklin,Fay,,822?2005,56001],[115,Franklin,Adiel,,320?2010,41000],[821,Gomez,Jorge,,11?2000,12000],[407,Greenwood,Charles,,4/20/2008,23432],[292,Hasegawa,Danny,,5/20/2007,45000],[845,Jefferson,Fay,,4/10/2005,37000],[757,Jones,Bill,,1020?2000,32000],[305,Kawananakoa,Sam,,1020?2009,42000],[773,Lam,Lawrence,,61?2009,9000],[426,Locksley,Robert,,31?2010,18300]]
Tutorial 1 0 - 2 : Sorting and updating the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!