//Please Try this code for your help....
protected void GridView1_RowEditing(object sender, GridViewEditEventArgs e)
{
GridView1.EditIndex = e.NewEditIndex;
//yourControlName it'sInstance =
//(yourControlName)//(GridView1.Rows[GridView1.EditIndex].FindControl("yourContr//olId"));
//For Example
Label lbl = (Label)(GridView1.Rows[GridView1.EditIndex].FindControl("lblId"));
int id = convert.ToInt16(lbl.Text);
cnn.Open();
SqlCommand cmd = new SqlCommand("delete from call_details where id=" + id, cnn);
int result = cmd.ExecuteNonQuery();
cnn.Close();
GridView1.DataBind();