Asp:DropDownList. How to fill items on page_load?

  • Thread starter Thread starter Shapper
  • Start date Start date
S

Shapper

Hello,

How can I fill the items of a DropDownList on Page_Load?

Thanks,
Miguel
 
assign the DataSource property of the drop down list a dataSource (any
collection) then call DataBind() on the drop down list
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top