protected void Desplegar_ORG_INS_DOC() { DB_AP_Registro_Org ListOrg = new DB_AP_Registro_Org(); GVOrgInsDoc.DataSource = ListOrg.DB_Desplegar_ORG_INS_DOC(Convert.ToInt32(LblIdCamp.Text), Convert.ToInt32(LblIdReg.Text), DDLPrograma.SelectedValue, TxtBuscarOrg.Text); GVOrgInsDoc.DataBind(); }
protected void Desplegar_ORG_LIST_OFI() { if (DDLCamp.SelectedValue != "") { LblMsj.Text = string.Empty; DB_AP_Registro_Org ListOrg = new DB_AP_Registro_Org(); GVOrgInsDoc.DataSource = ListOrg.DB_Desplegar_ORG_LIST_OFI(Convert.ToInt32(DDLCamp.SelectedValue), Convert.ToInt32(DDLRegional.SelectedValue), DDLPrograma.SelectedValue, TxtBuscarOrg.Text); GVOrgInsDoc.DataBind(); } else { LblMsj.Text = "No se definieron campaƱas"; } }