|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
combobox don't update valueI have a combobox with two possible values:
ONE TWO when i was pushed my save button save all values of my forms but this value ONE or TWO don't my code is: ComboBox3.DataBindings.Add("SelectedValue", dset, "tabla.status") Me.ComboBox3.Items.AddRange(New Object() {"ONE", "TWO"}) Please help me. Looks fine to me but I think you have to add the range before you bind the
control, so re-arrange your code to see if it works. Show quoteHide quote "Jose" <josenospam@unica.com> wrote in message news:ePzzf22fGHA.4976@TK2MSFTNGP02.phx.gbl... >I have a combobox with two possible values: > ONE > TWO > > when i was pushed my save button save all values of my forms but this > value ONE or TWO don't > > my code is: > ComboBox3.DataBindings.Add("SelectedValue", dset, "tabla.status") > > Me.ComboBox3.Items.AddRange(New Object() {"ONE", "TWO"}) > > > Please help me. > Thanks
Show quoteHide quote "+Vice" <tonyp***@earthlink.net> escribió en el mensaje news:OK80VV7fGHA.1324@TK2MSFTNGP04.phx.gbl... > Looks fine to me but I think you have to add the range before you bind the > control, so re-arrange your code to see if it works. > > "Jose" <josenospam@unica.com> wrote in message > news:ePzzf22fGHA.4976@TK2MSFTNGP02.phx.gbl... >>I have a combobox with two possible values: >> ONE >> TWO >> >> when i was pushed my save button save all values of my forms but this >> value ONE or TWO don't >> >> my code is: >> ComboBox3.DataBindings.Add("SelectedValue", dset, "tabla.status") >> >> Me.ComboBox3.Items.AddRange(New Object() {"ONE", "TWO"}) >> >> >> Please help me. >> > >
Porting VB6 to .Net - DDE replacement?
Binding currencyManager and dataRelation - datagridview - possible Object from variable Need help with Conversion from C# to VB.net Application.Exit text align Question about a conversion project Inline SQL vs stored procs on SQL Server 7 and 2000 Alternate Name Looping through Dataset |
|||||||||||||||||||||||