Drop Down List Box Asp.net (VB)

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Art DeBuigny (anonymous_at_discussions.microsoft.com)
Date: 04/08/04


Date: Thu, 8 Apr 2004 12:11:06 -0700

I have a drop down list box that I populate with data

I actually have two of them, one databound, one not. The problem is that I can't seem to get the system to recognize that I have actually selected something different than the default.

In the forms edit button I call the code like the following example.

Dim MyUsr As UserRec
MyUsr = New UserRec
MyUsr.MyValue = DDLListValues.SelectedValue
MyUsr.Update

Yet no matter what I select when running the code, the item selected at form_load is always saved as the value.

Anyone know what I am doing wrong?

Thanks

Art DeBuigny


Quantcast