Note: Replace the Data Source and Initial Catalog as per your application.

Create a folder in the root directory and name it "Images" to store the edit and delete images used in gridview. Search edit and delete .png icon image from the google search and add to the "Images" folder.

Now In the Design page(.aspx) design the web page as:

Note: I have also implemented the asp.net validations on the Employee Name, Address and the Salary fields.

<asp:ImageButtonID="imgDelete"runat="server"CommandName="Delete"ImageUrl="~/Images/Delete.png"OnClientClick="return confirm('Are you sure you want to delete selected record ?')"ToolTip="Delete"CausesValidation="false"/>

"If you like my work; you can appreciate by leaving your comments, hitting Facebook like button, following on Google+, Twitter, Linked in and Pinterest, stumbling my posts on stumble upon and subscribing for receiving free updates directly to your inbox . Stay tuned and stay connected for more technical updates."