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 :
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 : Open the SalesStaff project you created in Tutorial
Step : Run the application.
The FullTime column holds True and False valuessuch columns are designed as type bit in the SQL Server database. The DataGridView control always displays bit values in a CheckBox control.
Step : 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
Step : Click the LastName column again and watch the rows sort in reverse on the same column.
Figure Sorting on the LastName column
Company Sales Staff Table
tableIDLastName,FirstName,FullTime,HireDate,SalaryAdams,Adrian,Baker,Barbara,Del Terzo,Daniel,Easterbrook,Erin,Ferriere,Henri,Franklin,Fay,Franklin,Adiel,Gomez,Jorge,Greenwood,Charles,Hasegawa,Danny,Jefferson,Fay,Jones,Bill,Kawananakoa,Sam,Lam,Lawrence,Locksley,Robert,
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
