title: Set cell links in a datagridview with datasource from dataTable
body: <p>I have DataGridView in which I need to set links in some cells (not in a single column). All cells (columns) are of <code>DataGridViewTextBoxCell</code> type.</p>
  <p>When I populate the DGV from a DataTable (<code>.DataSource = dataTable</code>) links do not show.
  However, if I populate the DGV from an array (<code>.DataSource = Nothing</code>) links are shown and work.</p>
  <p>In both cases I use the following code <code>row.Cells(&quot;detailsID&quot;) = New DataGridViewLinkCell</code>.
  I tried adding an extra column (<code>Dim links As New DataGridViewLinkColumn()</code>, just for the links), but this approach doesn't work either.</p>
  <p>Any ideas what could be the problem?</p>
  <p><strong>EDIT</strong></p>
  <p>I solved the problem by building the DGV before parent form is shown (in the form_load event)! The old solution was build the DGV, and then show the form.</p>