public void ListaBDConServerInstancia(ref DropDownList oddl, bool IncluirValorInicial = true) { DLSoftware DataLayerSoftware = new DLSoftware(); oddl.DataSource = DataLayerSoftware.ListaBDConServerInstancia(IncluirValorInicial); oddl.DataValueField = "Valor"; oddl.DataTextField = "Descripcion"; }
public System.Data.DataTable ListaBDConServerInstancia(bool IncluirValorInicial = true) { DLSoftware DataLayerSoftware = new DLSoftware(); return(DataLayerSoftware.ListaBDConServerInstancia(IncluirValorInicial)); }