Click here to Skip to main content
15,885,309 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I define a custom characteristic? This feature is a drop-down box, the properties of an attribute: listItem, I'd like to know how listItem from the database load data?

Think of this problem for a long time, but also do not have the idea.

Can also be considered from the view of the load, but also do not know how to write, mainly is not sure type, because the drop-down box like binding, provide the table name and listing, query, get data, then set to the drop-down box.
Posted

1 solution

You will return a list of records in the datatable / recordset.

You can go through some of these links. They will give you an idea of what you could do -
http://www.ditran.net/datatable-list-and-list-datatable-conversion[^]
http://www.devcurry.com/2010/01/convert-datatable-to-list-using-c-or.html[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900