Windows Forms

How to Search DataGridView by using TextBox in C#
By Tan Lee Published on Aug 13, 2017 27.41K

To filter or search a DataGridView using a TextBox in C#, you typically bind the DataGridView to a DataTable or similar data source and use a DataView to filter the rows.

Read more
How to Print RDLC Report without Report Viewer in C#
By Tan Lee Published on Jul 17, 2024 32.98K

To print an RDLC report without using the Report Viewer control in a C# Windows Forms application, you can follow these steps.

Read more
How to read and write to text file in C#
By Tan Lee Published on Jul 04, 2017 11.29K

In C#, reading from and writing to a text file can be done using classes in the System.IO namespace, such as StreamReader, StreamWriter, File, and FileInfo.

Read more
How to Encrypt and Decrypt plain string using RC4 in C#
By Tan Lee Published on Mar 23, 2024 12.05K

Implementing the RC4 algorithm in a C# Windows Forms application involves creating the encryption and decryption functionality using the RC4 cipher.

Read more
How to save files using SaveFileDialog in C#
By Tan Lee Published on Jul 12, 2017 8.2K

To save the contents of a RichTextBox using a SaveFileDialog in C#, you can follow these steps.

Read more
How to Convert binary to text in C#
By Tan Lee Published on May 17, 2024 8.11K

Convert binary to text in C# Windows Forms Application by entering binary in TextBox, then pressing the convert button and displaying the result in TextBox control.

Read more
How to Create a Metro GridView in C#
By Tan Lee Published on Jul 16, 2024 28.13K

To use Metro GridView with Metro Framework in a C# Windows Forms application, and then retrieve data from a SQL database using Entity Framework, follow these steps.

Read more
How to Export DataTable to CSV using CsvHelper in C#
By Tan Lee Published on Jul 16, 2024 22.14K

Using CsvHelper to export a DataTable to a CSV file in C# is quite straightforward.

Read more
How to create a Barcode Scanner using Webcam in C#
By Tan Lee Published on Jul 05, 2024 19.64K

Creating a barcode scanner using a webcam in a C# Windows Forms application involves several steps, primarily involving the use of a barcode scanning library and accessing the webcam feed.

Read more
How to use a Webcam in C#
By Tan Lee Published on Jun 12, 2024 33.97K

To integrate a webcam into a C# Windows Forms Application using AForge.NET framework, you can follow these steps.

Read more