Search
How to use data annotations in C#
By Tan Lee Published on Jan 06, 2025 562
Data annotations are attributes from the `System.ComponentModel.DataAnnotations` namespace that can be applied to classes or class members.
Read moreHow to Generate QR Code with Logo in C#
By Tan Lee Published on May 21, 2024 23.38K
You can generate a QR code with a logo using the ZXing.Net library in a C# Windows Forms Application by following these steps.
Read moreHow to Remove Duplicates from a List with LINQ in C#
By Tan Lee Published on Jan 10, 2025 929
In C#, LINQ provides a simple way to remove duplicates from a list.
Read moreUsing SqlBulkCopy to Insert a List of Objects in C#
By Tan Lee Published on Jan 09, 2025 704
The SqlBulkCopy class in C# offers an efficient way to insert large volumes of data into a SQL Server database.
Read moreHow to Create overlay modal popup in C#
By Tan Lee Published on Jul 16, 2024 9.1K
Creating an overlay modal dialog in a C# Windows Forms Application involves several steps.
Read moreHow to Read data from Google Sheet in C# using HttpRequest without Speadsheet API
By Tan Lee Published on Sep 14, 2024 1.48K
To read data from a Google Sheet in C# using HttpRequest without using the Google Sheets API, you can leverage the fact that Google Sheets can be published to the web as a CSV file or HTML file.
Read moreHow to Custom color of Progress Bar in C#
By Tan Lee Published on Jul 17, 2024 11.01K
To create a custom background color for a progress bar in C#, you can create a CustomProgressBar class inherit from the ProgressBar control, then override the OnPaint method.
Read moreHow to run commands in command prompt using C#
By Tan Lee Published on Jan 17, 2025 982
To run CMD commands in C#, you can utilize the `System.Diagnostics.Process` class.
Read moreHow to Zip file folder in C#
By Tan Lee Published on Jul 17, 2024 10.21K
To compress or zip files, folders using DotNetZip and display a progress bar in a C# Windows Forms application, follow these steps.
Read moreWindows Management Instrumentation in C#
By Tan Lee Published on Dec 30, 2024 465
This article provides an overview of Windows Management Instrumentation (WMI) technology and demonstrates how to use WMI with the WMI Query Language (WQL) in C#.
Read more