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 more
How 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 more
How 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 more
Using 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 more
How 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 more
How 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 more
How 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 more
How 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 more
How 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 more
Windows 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