Introduction - If you have any usage issues, please Google them yourself
This source code give an implementation of cells merging and two-dimensional grid header of DataGridView control in the development of Windows Interface Application by VS2010.
An example based on one Form is also provided.