In AddButton_Click() event try to assign gridview id enabled to false. ie., For example your gridview id is gridview1 then add the following code in AddButton_Click() event in .cs file. You could see all the editable controls are disabled as non-editable.
gridview1.Enabled = false;