public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/html"; BLL.Products bllPro = new BLL.Products(); int id = Convert.ToInt32(context.Request.Form["id"]); string newName = context.Request.Form["newName"]; if (bllPro.UpdateFileName(id, newName) > 0) { context.Response.Write("OK"); } }