It's very easy to add an Image Command Field to a GridView dynamically as follows:
In Page Load write below code:-In C#
if(!IsPostBack) In VB.NET
CommandField image_field = new CommandField();
image_field.ButtonType = ButtonType.Image;
image_field.SelectImageUrl = "~/images/select.png";
image_field.ShowSelectButton = true;
image_field.HeaderText = "Select";
If(Not IsPostBack) Then
Dim image_field As New CommandField()
image_field.ButtonType = ButtonType.Image
image_field.SelectImageUrl = "~/images/select.png"
image_field.ShowSelectButton = True
image_field.HeaderText = "Select"