Author: Dallas Developer | Posted on: 10/9/2008 2:46:34 PM | Views : 292

Hi,

     I have a dropdown box which loads a list of Customer UserNames from the membership database using ObjectDataSource.  I also have a ChangePassword control with DisplayUserName set to True below that dropdown box.  When the page loads for the first time, the dropdown box loads the UserNames.  I want to display from the UserName in the dropdown box in the ChangePassword Control's UserName textbox.  However, I am not able to it.  This is what I tried.

In debug mode, I notice that AccountsDDL.Items.Count = 0.  What is the right Page event for this code? 

Protected Sub Page_Load(ByVal sender Go to the complete details ...