Changing from DropDown to DropDownList

M

Marty

Why does my field not save when I change the control from DropDown to
DropDownList? I used the data from wizard. Thanks.
 
C

Cor Ligthert [MVP]

Marty,

There are probably thousand possibilities what and where your DropDown and
DropDownList can be. The most obvious a Window forms, however it can as well
be ASPNET because you write to this board. But because that you say that it
is in the a wizard it can as well be in a kind of Grid.

Can you make it a little bit more clear,

Cor
 
M

Marty

I use the data form wizard in vb.net to create a bound form. Then I
changed some textboxes to combos. There was no problem saving the data
with the default DropDown style. When I change the style to
DropDownList, the values to not save anymore. I did find a workaround
where I add a invisible text box to hold the bound value but it is
beyond me why the DropDownList does not save to the DB.
 

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

Top