protected void btnIngresar_MEXpLaboral_Click(object sender, EventArgs e) { try { string DNI = txtdniPe.Text; string dni_persona = txtdniPe.Text.Trim(); string num_resolucion = txtNumReso.Text.Trim(); string Descripcion = txtDescrip.Text.Trim(); string fec = txtfecha_registro.Text.Trim(); DateTime fecha_registro = Convert.ToDateTime(fec); string fec1 = txtfecha_resolucion.Text.Trim(); DateTime fecha_resol = Convert.ToDateTime(fec1); clsResoluciones cl = new clsResoluciones(); if (num_resolucion != "") { cl.insert_expLabo(dni_persona, num_resolucion, Descripcion, fecha_registro, fecha_resol, "", 10); txtDescrip.Text = ""; txtfecha_registro.Text = ""; txtfecha_resolucion.Text = ""; txtNumReso.Text = ""; listar_expLabo(DNI); } else { } } catch (Exception) { throw; } }