Expand|Select|Wrap|Line Numbers
- DropDownList1.DataSource = Datatable1
(I tried the follwing code and it does not work but am looking for another way of doing this)
Expand|Select|Wrap|Line Numbers
- Datatable1= DropDownList1.DataSource
The reason I ask is I have a ASP.NET WebForm (VB) which contains a ListView with datasources for DropDownLists. The whole process works best when datasources are set using datatable. Using regular DropDownLists, this works very well.
My problem is that I want to use an improved version of the DropDownList control : DropDownListX which can be found in the following link:
http://ignatu.co.uk/articles/Adding_...trol/#section3
This article shows how to programmatically build the DropDownList item list, ... and it gets complicated when trying to databound the DropDownLists in every ListView events.
So my question is
"Is it possible to fill in a datatable with the content of a DropDownList.DataSource"
Or if someone has found a way to use DropDownListX control in a ListView, please show me your code
Thank you for any comments
P:oD