protected void GuardarEvento(string titulo, string inicio, string final, string url, string color) { try { DATA.Eventos evento = new DATA.Eventos { title = titulo, start = Convert.ToDateTime(inicio), end = Convert.ToDateTime(final), url = url, className = color }; eve.RegistroEvento(evento); } catch (Exception ex) { Response.Redirect("Error.aspx?error=" + ex); } }