title: DataGridView Merging
body: <p>Is it possible to merge 2 seperate <code>DataGridView</code> in C# into one? I am using a two seperate <code>SortableBindingList</code> for each <code>DataGridView</code>.</p>
  
  <p>Here is the code for the first DataGridView called <strong><code>theChipDGV</code>.</strong></p>
  
  <pre><code>theChipList.Add(new Chip(splitLine[0], splitLine[1], xValue, yValue, rotation, splitLine[5]));
  theChipDGV.DataSource = theChipList;
  </code></pre>
  
  <p>Here is the code for the second DataGridView called <strong><code>theDataBaseDGV</code>.</strong></p>
  
  <pre><code>theDataBaseList.Add(new DataBase(dataBaseSplit[0], dataBaseSplit[1], dataBaseSplit[2], dataBaseSplit[3], dataBaseSplit[4], dataBaseSplit[5], dataBaseSplit[6], 0));
  theDataBaseDGV.DataSource = theDataBaseList;
  </code></pre>
  
  <h2><em><strong>EDIT:</em></strong></h2>
  
  <pre><code>theFinalList.Add(new Final(splitLine[0], splitLine[1], xValue, yValue, rotation, splitLine[5], dataBaseSplit[0], dataBaseSplit[1],
                             dataBaseSplit[2], dataBaseSplit[3], dataBaseSplit[4],dataBaseSplit[5], dataBaseSplit[6], 0));
  </code></pre>
  
  <p><strong>OR</strong></p>
  
  <pre><code>theFinalDGV.DataSource = theChipList + theDataBaseList;
  </code></pre>
  
  <p><strong>OR</strong></p>
  
  <p>some other way since both of these I do not think will work?</p>
  
  <hr>
  
  <h2>If so, how is this possible?</h2>
  
  <h2><em><strong>EDIT2:</em></strong></h2>
  
  <pre><code>theLoadList.Add(new LoadLine(theChipList[0].Name, theChipList[0].PartNumber,
                  theChipList[0].XPlacement, theChipList[0].YPlacement, theChipList[0].Rotation,
                  theChipList[0].PkgStyle, theDataBaseList[0].PackageType, theDataBaseList[0].PartDescription,
                  theDataBaseList[0].Feeder, theDataBaseList[0].Vision, theDataBaseList[0].Speed,
                  theDataBaseList[0].Machine, theDataBaseList[0].TapeWidth, 0));
  </code></pre>
  
  <p>However using this only grabs one row and I need to grab every row.. Even if one list is larger than the other I would like to fill in the blank spots..</p>
  
  <p>I tried messing with this:</p>
  
  <pre><code>int chipRowCount = theChipDGV.Rows.Count;
  int dataBaseRowCount = theDataBaseDGV.Rows.Count;
  int greaterValue = 0;
  
  if (chipRowCount &gt; dataBaseRowCount)
      greaterValue = chipRowCount;
  else
      greaterValue = dataBaseRowCount;
  
  int i = 1;
  
  while (i &lt; greaterValue)
  {
      // Place the above **EDIT2** code here. (theLoadList.Add(new LoadLine(...));
  }
  </code></pre>