F
Fabio Negri Cicotti [MCP]
Sorry for my silly question...
in the same way we can define in a DropDownList the "ValueMember" and
"Display Member" when we bind a DatasSource, how could I do it using a
hard-code fixed datasource (without neither access the DB or create a
DataTable)?
To be as clear as possible, if I want to fill a DropDownList with the
following data (not comming from database, but from my source-code), how do
I do?
ID - Desciption
3 - Desc 3
6 - Desc 6.1
7 - Desc 7
With ASP.NET I use ListItem but it seems don't work with windows forms.
Kind regards,
Fabio Negri Cicotti
Software Engineer
in the same way we can define in a DropDownList the "ValueMember" and
"Display Member" when we bind a DatasSource, how could I do it using a
hard-code fixed datasource (without neither access the DB or create a
DataTable)?
To be as clear as possible, if I want to fill a DropDownList with the
following data (not comming from database, but from my source-code), how do
I do?
ID - Desciption
3 - Desc 3
6 - Desc 6.1
7 - Desc 7
With ASP.NET I use ListItem but it seems don't work with windows forms.
Kind regards,
Fabio Negri Cicotti
Software Engineer