You must map each column of the datagridview with the corresponding column in database using DataPropertyName
property of Datagridview's column. EX:
dgv_details.Columns[0].DataPropertyName = "Name"
This will map column 0 in datagridview with column "Name" in datatable