How to convert the Username column in the GridView an email hyperlink (mailto) and to be clickable using GridView1_DataBound?
<p>I developed a web-based training matrix that shows the training record for each employee in each division in my department in the company. The matrix will show many columns such as the employee name, username, job title... etc. what I want now is to make the username for each employee to be clickable which means when the admin clicks on it, the outlook will be opened with his email and the admin will be able to send him a message. In my company, this is possible because each employee email is mainly as: username@companyName.com so how to do that?</p>

<p>By the way, the username of the employee will be retrieved from the database using a storedprocedure, so how I will be able to convert the username to an email and to be clickable at the same time using the Code-Behind?</p>

<p>The user column is the 4th column in the GridView</p>

<p><em><strong>Code-Behind:</em></strong></p>

<pre><code>protected void GridView1_DataBound(object sender, GridViewRowEventArgs e)
        {
                HyperLinkField hlink = GridView1.Columns[3] as HyperLink;
                hLink.DataNavigateUrlFormatString = 
    }
</code></pre>
