I have, say, a class called Person with two properties: ID and Name, each object can add, update and delete itself to/from a database. So if I add a bunch of these Person objects to a DropDownList box (in some kind of loop), that has its Value member set to ID and Display member set to Name - all works fine.
I also have a textbox control that I use to enter either new or update the values for the Name property of each Person object. All works fine except for one annoying thing when updating. You can type the new Name value in the textbox and save it no problem, but how can I get the actual value in the DropDownList to also change its Name value without reloading the entire table?
Any ideas are much appreciated!