Drop Down within Repeater - How to get value from dbase
Posted on 2008-09-29
I have a drop down with a repeater control and want to populate it from a value in the database.
I have set the datasource of the repeater and the drop down value is within this datasource
I am using the "Item Created" of the repeater to populate the drop down with values but I don't know how to get it to select a the value from the database. E.g. like
ddlCurrency.Items.FindByText(Utility.BlankIfNull(objReader("firm_funds_managed_currency"))).Selected = True
Any help and code ;) would be great