Hi In Grid View you can add Template Column, in which there would be Image.
In Item Data Bound event check for the M or F and depending on that, Set the Image Path.
You can take the reference of below articles:
Paging, Selecting, Deleting, and Editing in the ASP.NET 2.0 GridView Control with Keyboard Shortcuts
Editable Nested GridView (All-in-One)
For right click, i will suggest, use the Toolttip / Title property of Image. It will display the information on hover event.
If you have UI concerns then you can use Tooltip plugin of JQuery.
Regards,
Jitendra Zaa