Tag Archives: DataGridView

Drag and Drop from DataGridView to ListBox in a Windows Forms application

In this article I will explain how to drag and drop from a DataGridView control to a Listbox control Download source code Introduction In this article I will explain how to drag selected rows from a DataGridView control onto a ListBox control in a Windows Forms (WinForms) application using C#   Step 1: Create a… Read More »

Connecting C# application with MySQL database

In this article I will explain how to connect C# application with MySQL database Introduction In this article we will see how to display data in a Windows Forms application from a MySQL database table Step 1: Install MySQL database driver (MySQL Connector/NET) for .NET. Download it from this link http://dev.mysql.com/downloads/connector/net. Step 2: Create a… Read More »