protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { InformesparcilesGrupos consulta = new InformesparcilesGrupos(); Informe.DataSource = consulta.consulta_informesGrupo(Session["Rol"].ToString(), Session["IdUsuario"].ToString()); Informe.DataBind(); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { InformesparcilesGrupos informes = new InformesparcilesGrupos(); if (Session["Informe"] == null) { Response.Redirect("ConsultaGrupo.aspx"); } DataTable Datos = informes.consulta_informe(Session["Informe"].ToString()); NombreProyecto.Text = Datos.Rows[0]["Nombre Proyecto"].ToString(); NombreSemillero.Text = Datos.Rows[0]["Nombre investigador"].ToString(); FechaRadicacion.Text = Datos.Rows[0]["Otros investigadores"].ToString(); correo.Text = Datos.Rows[0]["NombredeGI"].ToString(); LFechaInicio.Text = Datos.Rows[0]["Linea Ingestigacion"].ToString(); LObservaciones.Text = Datos.Rows[0]["Facultad"].ToString(); LAnexosDescrip.Text = Datos.Rows[0]["Metologia"].ToString(); LobjetivoEspe.Text = Datos.Rows[0]["Objetivo"].ToString(); LAnalisisDescrip.Text = Datos.Rows[0]["Resultados Discusion"].ToString(); LEstrategias.Text = Datos.Rows[0]["Estrategias"].ToString(); LPresupuesto.Text = Datos.Rows[0]["Presupuesto"].ToString(); } }
public void insertdatainformeGrupo(InformesparcilesGrupos objeto) { grupo.insertdatainformeGrupo(objeto); }