public void deleteDof3a() { int Id = int.Parse(Request.Form["id"]); CompanyClass com = new CompanyClass(); if (com.deleteDof3a(Id)) { Response.Write("success"); } else { Response.Write("fail"); } }