public void Delete(HttpContext context) { string remitid = context.Request.Params["remitID"]; string msg = ""; if (remitid != "" || remitid != null) { remitBll.Delete(Convert.ToInt32(remitid)); msg = "success"; } else { msg = "fail"; } context.Response.Write(msg); }