This Windows Form C# tutorial was produced for the students of King Faisal University (KFU), College of Computer
Sciences and Information Technology (CCSIT). All videos in this series were written in Visual Studio 2017 using C# or
pti
on
C Sharp from Microsft. If you are a beginning c# programmer, this WinForm C# tutorial may help you. Learn C#
programming using this dot net tutorial through Windows Forms (WinForms).
In this video, we will learn how to create a Login Form using SQL Server Express Database. I hope you still
remember the data providers from ADO.NET framework that we discussed in Lesson 15 where we used OleDb. This
time, we will use SQL Client for SQL Server.
Here are the classes for SqlClient: SqlConnection, SqlCommand, SqlDataAdapter, and SqlDataReader. Since we are
not going to populate any control, we will use a DataReader instead of a Data Adapter.
I would like to acknowledge the following people for their support:
Dr. Majed Alshamari,
Dr. Mohammed Bonais,
Dr. Abdullah Alaulaimie,
Dr. Mohammed Al-Naeem,
Dr. Shadi Ettantawi,
Mr. Ahmed Alshawayrid,
Mr. Naif Bo-Hasan,
Mr. Mohammed Tawfiq, and
my sister, Ms. Reem Uthman for editing the video.