title: How do I get Cells in an dataGrid to resize automatically to fit the viewable data?
body: <p>I have data being loaded into dataGrids.  When it appears.. the Cells aren't autosizing to fit the data.   If one of the excel Cells has  "Hi and welcome to my home"   It would only show "Hi and welcome to ......</p>
  
  <p>I'm looking for the proper grid.xxxx instruction.  I'm doing this in C# and on a windows Form.</p>
  
  <pre><code>var tabPage = new TabPage(name1);
                  DataGridView grid = new DataGridView();  //{ //Dock = DockStyle.Fill  // };
                  grid.Location = new Point(10, 50);
                  grid.Size = new Size(950, 450);
                  grid.Name = "dg_" + name;
  
                  tabPage.Controls.Add(grid);
                  comboBox1.Items.Add(name1);
                  tabControl2.TabPages.Add(tabPage);
                  loadData(name, grid);
  </code></pre>