protected void GVJefesAD_PageIndexChanging(object sender, GridViewPageEventArgs e) { try { GVJefesAD.PageIndex = e.NewPageIndex; GVJefesAD.DataSource = (DataTable)Session["ATM_BUSCAR_JEFE_CORRECTIVO"]; GVJefesAD.DataBind(); } catch (Exception Ex) { } }
void LimpiarNotificacion() { Session["ATM_BUSCAR_JEFE_CORRECTIVO"] = null; Session["NotifJefeAgenciaATMCorrectivo"] = null; GVjefesAgencias.DataSource = null; GVjefesAgencias.DataBind(); GVJefesAD.DataSource = null; GVJefesAD.DataBind(); Session["NOTIFCORRECTIVO"] = null; DLLtecResponsable.Items.Clear(); txtHrInicioMant.Text = string.Empty; txtHrFinMant.Text = string.Empty; txtATM.Text = string.Empty; txtsysaid.Text = string.Empty; txtUbicacionATM.Text = string.Empty; txtdireccion.Text = string.Empty; txtsucursalNotif.Text = string.Empty; txtipNotif.Text = string.Empty; txtzonaNotif.Text = string.Empty; txtidentidadTecResponsable.Text = string.Empty; }
protected void btnBuscarJefe_Click(object sender, EventArgs e) { try { if (txtbuscarJefeNotif.Text != "" || txtbuscarJefeNotif.Text != string.Empty) { // Session["NotifJefeAgenciaATM"] = null; clases.LdapService vService = new clases.LdapService(); DataTable vDatos = vService.GetDatosUsuario("adbancat.hn", txtbuscarJefeNotif.Text); GVJefesAD.DataSource = vDatos; GVJefesAD.DataBind(); Session["ATM_BUSCAR_JEFE_CORRECTIVO"] = vDatos; UpdatePanel2.Update(); } } catch (Exception) { throw; } }