protected void CadastraMotivoFalta(string DsMotivoFalta, bool AbonoFaltas) { msg = Cad.CadastraMotivoFalta(DsMotivoFalta, AbonoFaltas, Convert.ToInt32(cbStatus.SelectedItem.Value), 0); this.Page.RegisterStartupScript("MSG", @"<script language='javascript'> alert('" + msg + "');</script>"); }