I have an employee table with fields Employee Id, Employee Name, Address,Salary , Department ID .
I have added a data grid control with the columns showing name , address , salary and 2 columns with the name edit and delete
I want to insert image in the edit and delete columns using the image column . Secondly whenever we click on the image in delete column , it will delete that particular record on refreshing the grid and also data from SQL table will be deleted . I want to know how to create image column in the data grid and the code for the delete part .
Aucun commentaire:
Enregistrer un commentaire