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 moreShuffling 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 moreHow 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 moreHow 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 moreC# 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 moreBinding 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 moreSimple 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 moreBuilding 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 moreUsing 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 moreHow 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