title: How to add textBox to Winform dataGridView cells
body: <p>I want to add textBox to my column cells by for loop...</p>
  
  <p>My code:</p>
  
  <pre><code>DataTable dt = new DataTable();
  
  DataColumn dc;
  dc = new DataColumn("No");
  dt.Columns.Add(dc);
  dc = new DataColumn("Item");
  dt.Columns.Add(dc);
  dc = new DataColumn("Available Stock");
  dt.Columns.Add(dc);
  dc = new DataColumn("Quantity");
  dt.Columns.Add(dc);
  dc = new DataColumn("Price");
  dt.Columns.Add(dc);
  
  // Define  rows
  for (int i = 0; i &lt; count; i++)
  {
      string no = dtr.Rows[i][0].ToString();
      string item = dtr.Rows[i][2].ToString() + " " + dtr.Rows[i][1].ToString();
      string A_qty = dtr.Rows[i][3].ToString();
      string price = dtr.Rows[i][4].ToString();
  
      dt.Rows.Add(no, item, A_qty,"[i want to add text box here] " ,price);        
  }
  
  dataGridView1.DataSource = dt;
  </code></pre>
  
  <p>I want to add textBoxes to 4th column and I want access that one by one.</p>