protected void btn_guardar_ServerClick(object sender, EventArgs e)
        {
            try
            {
                if (FormAccion == "Agregar")
                {
                    WSGestion.WSGestion wsgest = new WSGestion.WSGestion();
                    wsgest.Url = ConfigurationManager.AppSettings.Get("dirWs");
                    WSGestion.MOD_Centro_Atencion obj = new WSGestion.MOD_Centro_Atencion();

                    obj.CEA_nombre = txt_nombre.Value;
                    obj.CEA_telefono = txt_telefono.Value;
                    obj.CEA_direccion = txt_Direccion.Value;
                    obj.CEA_celular = txt_celular.Value;
                    wsgest.CRE_Centro_Atencion(obj);
                    Response.Redirect("frm_Grid_Centro_Atencion.aspx");
                }

                if (FormAccion == "Editar")
                {
                    WSGestion.WSGestion wsgest = new WSGestion.WSGestion();
                    wsgest.Url = ConfigurationManager.AppSettings.Get("dirWs");
                    WSGestion.MOD_Centro_Atencion obj = new WSGestion.MOD_Centro_Atencion();

                    obj.CEA_nombre = txt_nombre.Value;
                    obj.CEA_telefono = txt_telefono.Value;
                    obj.CEA_direccion = txt_Direccion.Value;
                    obj.CEA_celular = txt_celular.Value;
                    obj.CEA_id_centro_atencion = Convert.ToInt32(txt_codigo.Value.ToString());
                    wsgest.UPD_Centro_Atencion(obj);
                    Response.Redirect("frm_Grid_Centro_Atencion.aspx");
                }
            }

            catch (Exception exc)
            {
                Alert_Mensaje.Attributes["class"] = "alert alert-danger";
                mensaje_alerta = exc.ToString();
                titulo_mensaje_alerta = "Error: ";
                Alert_Mensaje.Visible = true;
            }
        }