ComboBox list with dynamic DataSource is not updated with remoting

  • 12 years ago

    I have a form with drop down list combo box. The list is updated using this form. The form can be run both as server and client (using remoting). When I am updating the list (in the original form or the remoted one),only the combobox in the server side (the original form), is updated. The combobox in the remoted form is become empty.

    this is the code when i want to add item to the list:

    myList.Add("NewItem");

    myComboBox.DataSource = null;

    myComboBox.DataSource = myList;

    Any ideas?

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Anyone who considers arithmetic methods of producing random digits is, of course, in a state of sin.” - John von Neumann