示例#1
0
 protected void btnGuardar_Click(object sender, EventArgs e)
 {
     try
     {
         String diagnostico = ddlDiagnostico.SelectedValue;
         String nota        = txbNotas.Text;
         string post;
         if (ckbPreOPost.Checked == true)
         {
             post = "1";
         }
         else
         {
             post = "0";
         }
         bdTS.anlVvnNuevoAnalisis(S, familia, U, diagnostico, nota, post);
         llenarTblVVnd();
         btnEliminarAnalisis.Visible = true;
         mst.mostrarMsjNtf(dic.msjSeHaIngresado);
     }
     catch (Exception ex)
     {
         mst.mostrarMsjMdl(dic.msjNoSeRealizoExcp + ex.Message.ToString() + ".");
     }
 }