CommandField cfield = new CommandField(); cfield.HeaderText = "Edit"; cfield.ButtonType = ButtonType.Link; cfield.ShowEditButton = true; grdView.Columns.Add(cfield); Here Update and Cancel events are not firing