Search

Binding a DataGridView to a Collection in C#
By Tan Lee Published on Jan 16, 2025 299

In this guide, I will show you how to bind a DataGridView to a regular .NET collection.

Read more
Shuffling a Dictionary in C#
By Tan Lee Published on Jan 16, 2025 358

To shuffle a dictionary in C#, you'll need to leverage LINQ and randomization.

Read more
How to Convert a Color Image to Grayscale in C#
By Tan Lee Published on Jan 16, 2025 400

Converting a color image to grayscale is a common task in image processing with C#.

Read more
How To Auto Ellipse Text in C#
By Tan Lee Published on Jan 16, 2025 340

When developing applications in C#, one common requirement is to handle text that exceeds the available space in a UI element, like a label or a text box.

Read more
C# Font Scaling
By Tan Lee Published on Jan 16, 2025 416

In this tutorial, we will dive into a more advanced technique: scaling the font size so that the text automatically adjusts to fit within a designated area.

Read more
Binding a DataGridView to a Database in C#
By Tan Lee Published on Jan 16, 2025 552

In this tutorial, we'll walk through a straightforward method for binding a .NET DataGridView to a database without relying on the form designer.

Read more
Simple Threaded TCP Server in C#
By Tan Lee Published on Jan 16, 2025 524

In this tutorial, we'll walk through building a simple threaded TCP server in C#.

Read more
Building a Simple CSV Parser in C#
By Tan Lee Published on Jan 16, 2025 251

When working with multiple Comma Separated Value (CSV) files, the challenge of efficiently reading and managing the data can arise.

Read more
Using OLEDB CSV Parser in C#
By Tan Lee Published on Jan 16, 2025 244

To use the built-in OLEDB CSV parser in C#, you can take advantage of the OLEDB provider that allows you to treat CSV files as database tables.

Read more
How to Get an Enum from a Number in C#
By Tan Lee Published on Jan 16, 2025 262

To get an enum from a number in C#, you can use the Enum.ToObject method, which allows you to convert an integer value to its corresponding enum value.

Read more