I have a datagridview in a winform that displays the content of a datatable which holds data recieved from my DB.
One column contains the urls of different sites. I'd like to turn all the site urls into links e.g:
from : htttp://stackoverflow.com
I think I found what I need in http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridviewlinkcolumn.aspx but have no idea how to implement it in my code.
Thanks Asaf
private void loadGRD()
{
string qry = "";
qry = "Select top 10000 companyName,webSite from jobDB.dbo.companiesAll ";
frmMainJobSearch a = (frmMainJobSearch)mainParent;
DataTable dt = new DataTable();
dt =a.connDB.userQuery(qry); // getting a table with one column of the databases names
grdHashamaLst.DataSource = dt;
}