
Learn to build Windows Forms apps from scratch with C# and .NET Core, using SQL Server to create login, data entry, search, and reports. Master permissions, backup, and encryption.
Discover how to use the old resource editor in Visual Studio to add images to a Windows Forms project. Open assembly resources, switch to legacy resource editor, and save images.
Start the Secretariat application project in C# .NET 6 using Visual Studio 2022 to manage incoming and outgoing letters via the main form.
Design the main window by adding top, left, and bottom panels with dock settings in a Windows Forms project. Prepare for future features like icons and window controls.
Add minimize and close buttons to a Windows Forms app, set a minimum form size (1024x768), and use anchors and resources to ensure responsive controls.
Create a top panel menu in Windows Forms with data entry, reports, tools, and help buttons using images and text, featuring 3D background effects and precise alignment.
Add a calendar to the sidebar in a Windows Forms app by embedding a background image and four labels for year, month, day, and weekday, then populate from current date.
Add an analog clock to the sidebar by downloading a CodeProject clock component, integrating it into a Windows Forms .NET 6 project, and configuring the toolbox and DLL usage.
Customize the analog clock in a Windows Forms project by using a timer, adjusting colors, shadows, hour and second hands, gradient, rim, and second hand style for smoother motion.
Add a login user image and username to the Windows Forms sidebar using a picture box and label, set the image resource, and use the zoom size mode.
Learn to implement a TreeView driven data entry menu in Windows Forms, using a panel to show and hide, configure nodes, bind an ImageList, and enable collapse/expand with customized appearance.
Download SQL Server 2014 Express from the official page and install the engine with Management Studio on Windows 7 or 10, noting requirements, limitations, and .NET Framework prerequisites.
Discover how SQL Server handles multiple users with a core SQL engine, the SQL database and MDF files, and learn to set up and connect using SSMS and SQL queries.
Explore what a SQL Server database is, how to create and manage databases and files (MDF and LDF), and the key parts like tables, views, and security.
Learn how to use SQL Server Configuration Manager to start, stop, pause, and restart SQL Server services, manage default and other instances, and configure start modes and related services.
Explore how to work with SQL Server tables, including creating and designing tables, editing structure, adding and loading data, and managing keys and data types for a robust database.
Explore the core numeric data types in SQL Server, including int, bit, tinyint, smallint, bigint, float, and decimal, and learn how ranges, nullability, and primary keys affect table design.
Explore SQL Server string data types—char, varchar, varchar max, and text—covering fixed versus variable sizes, 8000 limit, English-only usage, and the shift toward varchar max.
Learn to store unicode text in SQL Server using nchar, nvarchar, varchar, and max variants; compare fixed char with variable nvarchar and note future removal of text.
Explain the GUID datatype and its use as a global unique identifier, and show how to implement and auto-generate it as a 32-digit, four-dash primary key in SQL Server.
Detach the SQL Server database offline to safely copy or back up its files, then attach it back online while handling MDF and LDF files.
Learn to create a SQL Server database, define a primary key identity column, and test auto increment with sample data in a Windows Forms and SQL project.
Learn to create a sql server table with an identity primary key, configure auto increment with start and increment values, and use nvarchar for unicode first/last names.
Master SQL Server date and time data types—date, time, small date time, date time two, and date time offset—for birth and registration dates in a phone book.
Learn to write and execute sql server select queries to retrieve table data, control results with top, order by, and asterisk for all columns, and reorder columns as needed.
Use the where clause in SQL Server select queries to filter text and numeric data. Handle unicode with the N prefix and use operators like equal, not equal, and between.
Design an incoming letters form in a Windows Forms app, connect it to a SQL Server database with C# and .NET, and enable add or edit records (subject, letter number).
Explore the ADO.NET structure for C# database apps, covering the database side and the application side, and using DataSet, TableAdapter, Connection, and BindingSource to perform CRUD with SQL Server.
Create a SQL Server database for the incoming letters in a .NET C# app, design a table with primary key, autoincrement, nvarchar fields, dates, and metadata.
Connect a SQL database to a C# project by adding a dataset, data table, and table adapter, then generate insert, update, and delete methods and rebuild.
Explore how the data table, dataset, and table adapter connect to a SQL server and configure select, insert, update, and delete commands, and preview data with the fill method.
Learn to quickly back up your C# .NET Core Windows Forms project by copying the solution folder, adding time-stamped backups, and restoring individual projects or entire solutions with a rebuild.
Design the incoming letters list form with bindingsource to load data into a datagridview, set the start position to center screen, and use a fixed single border with tool strips.
Connect a dataset and data table to a DataGridView using a binding source, then load data with a table adapter to display results.
Customize the DataGridView in Windows Forms by adjusting columns, headers, widths, and colors, enable editing, manage read-only and selection modes, and apply alternating row styles for a polished UI.
Add a record navigator to a form using a toolstrip, including first, previous, next, and last buttons bound to a binding source, with a position textbox and total records label.
Add buttons to the form toolbar with image and text for edit, add, delete, search, and print, tune image-text alignment, and apply 3d effects for a Windows Forms interface.
Add a search panel to a Windows Forms form and toggle its visibility with the search button. Resize and style panels, and integrate a search icon from resources.
Search and display related subjects in a C# Windows Forms app by implementing a parameterized like query on a nvarchar subject column, updating the grid with results.
Learn to search SQL data by rec date in C# using between two dates, date time picker, and parameterized queries, with sorting in a Windows Forms app.
Design incoming letters data entry form in Windows Forms with add, edit, delete, and save actions. Configure the form with a date picker, priority combo box, and a footer panel.
Add top toolbar buttons for data entry—add, edit, delete, save, cancel, and print—with icons and text alignment, and manage their enablement and group box state on form load.
Add the system date and time to the footer in a Windows Forms app. Format them with a 24-hour pattern and display the current username and user ID.
Add username and user ID to the project settings and share them across all forms, then display these values in the footer using application settings.
Add data entry items to a Windows Forms form using labels, text boxes, mask text boxes for dates, and a priority combo box, with clear naming and alignment.
Bind the data entry items to the binding source to connect form controls with the data table, and use the table adapter to load and save data in SQL Server.
Write robust C# code for add, edit, and save operations by binding controls to a data table, using binding source and table adapter to update the SQL Server database.
Learn to implement delete and cancel button logic in a Windows Forms app using a BindingSource, a table adapter, and reject changes to safely remove records and revert edits.
Master customizing date formats in a C# .NET app with culture info, setting current culture and UI culture, and applying short date patterns across locales.
Learn to assign default values for date and time controls, including req date and deadline, set priority and page count, and apply short date and time strings using system time.
Learn how to set date and time masks on MaskedTextBox controls in a Windows Forms app, using short date and time formats, literals, and prompts to enforce valid input.
Learn how to validate a date before saving to a sql server database by using a try-parse pattern, a boolean validator, and user feedback via message boxes.
Connect the input letters list to its data entry form by launching the child form, passing the selected ID through a label, and loading the corresponding data.
Connect the incoming letters list to the main form by using the tree view, validating selection, creating an MDI child, and hiding the panel for a streamlined workflow.
Learn to save null values in date columns by configuring data bindings and date masks, setting appropriate null values, and enabling BindingSource properties in a Windows Forms C# project.
Design the database for outgoing letters, connect it to a .NET Windows Forms app using table adapters and datasets, and bind the data to the form for listing and entry.
Design the outgoing letters SQL database in SQL Server Management Studio, mirror incoming letters' fields, generate the table with a script, rename columns, and set the id as an identity.
Connect the outgoing letters SQL table to a C# .NET app by creating a dataset, a table adapter, and a bindingsource; generate insert, update, and delete methods.
Learn to add an outgoing letters list form by duplicating the incoming letters list setup, configuring data bindings, datagridview columns, and the out letters table adapter, then test and rebuild.
Design an outgoing letters data entry form in a Windows Forms project by reusing the incoming letters data structures, binding to the outgoing letters dataset and table adapter.
Connect the outgoing letters list to the main form by detecting the outgoing node in the tree view and opening the outgoing letters form centered on the screen.
Customize the data entry form to save null values in date columns by configuring data binding and mask text box formats for rec date and send date.
Explore how to implement user management in a dotnet app, including login and data entry forms, permissions, and integrating SQL Server with dataset and table adapters.
Create a users database in SQL Server Management Studio. Add sample data and design a users table with an auto-incrementing primary key, nvarchar fields, and a var binary max photo.
Connect app users table from MySQL database to a C# Windows Forms project in Visual Studio. Generate a data set and table adapter with CRUD queries from a primary key.
Design and bind a users list form in a Windows Forms project by adding the app users table, configuring a BindingSource, binding a DataGridView, and loading data with a TableAdapter.
Design and implement a users data entry form in a Windows Forms project, configuring the UI, data bindings, and CRUD operations with dataset, table adapters, and binding sources.
Load a user photo via an open file dialog, display it in a picture box with zoom, then save to the app users table as var binary max.
Design and implement a login form in a fast C# .NET Core live project, featuring user image, username combo box, password field, and dialog-based validation.
Add password validation on save to prevent empty passwords, ensure the password matches its repeat field, mask input, enforce a ten-character limit, and protect the admin account with a settings-based id.
Learn to implement user permissions to limit or grant access across enterprise and professional programs, including main forms, letters, data entry, and printing.
Create a permissions database and add boolean permission columns for each button and menu, seed admin full access and a limited user, and plan reserved columns for future updates.
Learn to add permission columns from a sql server to the c# datatable by updating the existing app users data table, configuring the table adapter, and validating the changes.
Learn to add permission check boxes to the users data entry form, connect them to the data table with a bindingsource, and configure main form groups and menus.
Bind permission checkboxes to the binding source and bind each checked state to the corresponding boolean column. Set default values to true or false to ensure reliable saves.
Load the login user's permissions from SQL Server into a static app users data table and share them via a public class to enable or disable main form controls.
Create a method to load a user’s permission by column name in a Windows Forms app, returning a boolean from the user permission data table using the main_v1 column.
Create a permission loader to apply loaded permissions to main form controls using column names and binding, with admin user validation in SQL server.
Learn to load permissions for all forms with a permission loader, apply it to input letters, data entry, and outgoing letters, and handle admin and user permissions.
Reload permissions in a Windows Forms and SQL project without closing the application by reloading the app user data table after closing the user data entry form.
Learn how to implement backup and restore in a professional Windows Forms app, create backup copies via browse, save to a path with a file name, and restore data.
Design the backup and restore forms in Windows Forms. Center the dialogs, fix the size, and use panels, labels, text boxes, and browse buttons to manage SQL Server backups.
Learn to create a browse button for the backup form using a folder browser dialog to select a destination, then generate a backup file name with date, time, and extension.
Learn to create and run a full database backup in SQL Server Management Studio, generate and use a backup script in a C# application, and prepare for restore later.
Master backing up a SQL database in a C# Windows Forms app by building a backup query, setting up a SQL connection and command, and executing the backup to disk.
Learn to implement a backup workflow in a Windows Forms C# project by checking the file size, showing messages, and a progress panel with the backup button disabled during operation.
Master restoring a SQL Server database in SSMS: select the backup device, verify media, handle single and multi user states, and generate a script to replace and recover data safely.
Explore building a C# Windows Forms SQL database restore, using a browse dialog, file name validation, and a restore workflow with progress feedback.
Add guards before restoring a SQL database by validating the backup file size and existence. Verify the database exists on server with database access checker to ensure a safe restore.
Hi There!
With my 23 years programming skills I am with you to share my knowledge with you.
So
If you try you will be a c sharper!
If you wanna make a lot of money!
If you wanna find best jobs in programming!
If you Want to learn the C# .NET Core
If you are beginners or student looking for a tutorial that teach c# with real project in simplest way!
If you want really to be a programmer so it is best place that you can start to learn C#.
This course includes :
Start using C# with Visual Studio 2022 From Scratch
Designing Main Form
Using SQL in C# by ADO. NET
SQL Server, Its installation and working
Create database App with SQL and C#
SAP Crystal Reports to design amazing reports in C#
Working with settings in Application
Design: "Incoming Letters List" Form
Design: "Incoming Letters Data Entry" Form
Design: "Outgoing Letters" Form
Design: "Outgoing Letters Data Entry" Form
Deeper look at: TableAdapter, Dataset and Datatable
Customizing DataGridView
Create database for incoming letters
Add analog clock to sidebar
Add login user image to sidebar
and …
Do not hesitate to start learning C# .NET Core 6
Every thing will be discussed with sample project and you will have lot of fun within my course.
Say Hi C# world and lets go !