Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / ADO.NET / April 2006

Tip: Looking for answers? Try searching our database.

Changing from DropDown to DropDownList

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marty - 27 Apr 2006 19:27 GMT
Why does my field not save when I change the control from DropDown to
DropDownList? I used the data from wizard. Thanks.
Cor Ligthert [MVP] - 28 Apr 2006 06:10 GMT
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

> Why does my field not save when I change the control from DropDown to
> DropDownList? I used the data from wizard. Thanks.
Marty - 28 Apr 2006 17:59 GMT
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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.