protected void btnCrear_Click(object sender, EventArgs e)
        {
            if (
                !txtFecha.Text.Equals("") &&
                !txtCedula.Text.Equals("") &&
                !txtClave.Text.Equals("")
                )
            {
                string reunion = "";
                if (DropDownList1.SelectedIndex == 0)
                {
                    reunion = "O";
                }
                else
                {
                    reunion = "E";
                }


                UsuariosSW  admin      = ((UsuariosSW)Session["USUARIOSW"]);//UsuariosSW
                string      cedulaUser = admin.Cedula;
                ManejoDatos datos      = new ManejoDatos();
                Resultado   generado   = datos.crearConsejo(
                    txtFecha.Text, txtCedula.Text, txtClave.Text
                    , cedulaUser, reunion
                    );
                if (generado.Completo == true)
                {
                    ScriptManager.RegisterClientScriptBlock(this,
                                                            this.GetType(), "alertMessage", "alert('Consejo creado !')", true);
                }
                else if (!generado.Error.Equals(""))
                {
                    ScriptManager.RegisterClientScriptBlock(this,
                                                            this.GetType(), "alertMessage", "alert('" + generado.Error + " !')", true);
                }
                else
                {
                    ScriptManager.RegisterClientScriptBlock(this,
                                                            this.GetType(), "alertMessage", "alert('Error en el procedimiento !')", true);
                }
            }
            else
            {
                ScriptManager.RegisterClientScriptBlock(this,
                                                        this.GetType(), "alertMessage", "alert('Llenar TODOS los campos correctamente')", true);
            }
        }