First, you should add a DataGridView control to your Windows Forms application by double-clicking on the control name in the Visual Studio designer panel.
www.dotnetperls.com