C# windows datagridview , how to add DataGridViewLinkColumn with changing text in each row. like dynamically add link text while iterating over the rows of the datagridview.
tried to add the link column and change each row text,
DataGridViewLinkColumn lnk = new DataGridViewLinkColumn();
dataGridView1.Columns.Add(lnk);
lnk.HeaderText = "Link Data";
lnk.Name = "Link Data";
foreach (DataGridViewRow row in dataGridView1.Rows)
{
lnk.CellTemplate.Value = sometext;
}