A
Andrea Lodigro
Hi,
I've got a listbox linked to a DataSet in this way:
// connetto la lista di clienti ai dati
this.lbClienti.DataSource =
GestoreClientiDistributori.caricaElencoClienti().Tables[0];
// imposto DENIMINAZIONEBREVE come valore visualizzato
this.lbClienti.DataTextField = "DENOMINAZIONEBREVE";
// imposto CODICE come valore nascosto
this.lbClienti.DataValueField = "CODICE";
// eseguo il binding dei dati
this.lbClienti.DataBind();
the first instrution assign the datasource as a dataset.
Now when I select a value from the listbox I would like to
connect someother controls (textbox) to the other
information associated with that list element.
Is it possible?
Thanks,
Andrea
I've got a listbox linked to a DataSet in this way:
// connetto la lista di clienti ai dati
this.lbClienti.DataSource =
GestoreClientiDistributori.caricaElencoClienti().Tables[0];
// imposto DENIMINAZIONEBREVE come valore visualizzato
this.lbClienti.DataTextField = "DENOMINAZIONEBREVE";
// imposto CODICE come valore nascosto
this.lbClienti.DataValueField = "CODICE";
// eseguo il binding dei dati
this.lbClienti.DataBind();
the first instrution assign the datasource as a dataset.
Now when I select a value from the listbox I would like to
connect someother controls (textbox) to the other
information associated with that list element.
Is it possible?
Thanks,
Andrea