i have this scenario :
after query i have this table in DataSet :
Name | Module | Date | Approvation
xx | xxx | xxx | xxxxxxxx
yy | yyy | yyy | yyyyyyyyy
DataTable dt = new DataTable();
// dgvApprovazione is a datagridview
dgvApprovazione.DataSource = dt
now in this situation i have at 4 columns type text(string): Name,Module,Date,Approvation...
I want column Module is a link to file... then xxx is a link, yyy is a link ... and other..
i have look DataGridViewLinkColumn but i don't know if that's a good way and how to set ..
The
DataGridViewLinkColumn
is the way to go, and implementing it should be as simple as:Main source of this answer came from this SO answer, minus the conditional check. The other answers are also informative.