Click here to Skip to main content
16,018,534 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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?

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?

The user column is the 4th column in the GridView
Posted

1 solution

Try this on GridView_CellClick event:-

System.Diagnstics.Process.Start("Desire EmailId");
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900