QUESTION ABOUT SAMPLES IN SECTION 18.6
hello
in the section 18.6,the listbox is added to the interface,and bound to the datasource "dsCustomers.customers",but the listbox is not synchronized to the textbox and the command button,you must modify and implement several events (such as button click and the listbox seletedIndexChanged) to synchronize them.
but i found if the datasource property of the listbox is bound to "dsCustomers",all of them are synchronized and needn't any coding.
what is the difference between the two methods?why the author choose the first solution?i mean how can i determine when i choose which solution?
thank you.
|