Merging DataGrid Column Headers with Specific Range
<p>First, i'd like to apologize if this question happens to be a duplicate. But as far as i would like to ask for help, i'd like to know of any function or code or walkthrough on how i can merge a ColumnHeader of a DataGridView from a specific column range.</p>

<p>ie: Lastname, Firstname, and Middlename are under the "NAME" Merged Header. Company, and Position is under the "WORK" Merged Header.</p>

<p>please do note that both the "NAME" / "WORK" and "LASTNAME" / "FIRSTNAME" / "MIDDLENAME" / "COMPANY" / "POSITION" are all headers too. So Basically, i would have two (2) lines of ColumnHeaders.</p>

<p>PS: i've already searched a couple of times in several forums and collaboration sites but i can't seem to make it work as they all give a constant of two (2) span range. and i've also managed to stumble across this <a href="https://stackoverflow.com/questions/1366436/how-can-merge-a-particular-column-header-in-datagridview-c">thread</a>, but it doesn't seem to work and suffice my requirement.</p>

<p>looking forward to a appreciative helps. thank you</p>

<p><a href="https://i.stack.imgur.com/Bvchg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Bvchg.png" alt="enter image description here"></a></p>