title: DataGridView Add TextBox & And Allow Edit After Binding
body: <p>I have one <code>DataGridView</code> named <strong>dgv</strong>.</p>
  
  <p><code>dgv</code> is pretty much a plain gridview. No bounded data. No columns added. It's basically empty.</p>
  
  <p>I also have one <code>DataTable</code> named <strong>dt</strong>.</p>
  
  <p>I add rows and columns manually into dt.</p>
  
  <pre><code>dt.Columns.Add(New DataColumn("TexBox", GetType(String)))
  dr = dt.NewRow()
  dr("TextBox") = String.Empty
  dt.Rows.Add(dr)
  </code></pre>
  
  <p>I then simply set <code>dgv</code> datasource into <code>dt</code>.</p>
  
  <pre><code>dgv.DataSource = dt
  dgv.Refresh()
  </code></pre>
  
  <p>I then set the value for this particular cell.</p>
  
  <pre><code>dgv.Item(0,0).Value = "xxx"
  </code></pre>
  
  <p>Now when I run and execute all those commands. I happen to retrieve the gridview with that value indeed. <strong>The "xxx" cell appeared and currently it's uneditable</strong>.</p>
  
  <p>What I want to achieve is:
  Allow this "xxx" cell to be <strong>editable</strong>. Preferrably if it can be inserted into a <code>TextBox</code> control inside the cell.</p>
  
  <p>I googled and researched by myself on doing this. Yet I couldn't find a correct resource.</p>
  
  <p>Any help is appreciated.</p>