dynamically changing bindingSource source RRS feed

  • Question

  • I have a database with several tables and an application window. In that window there is a listbox that contains data from a certain table. My goal is to attach a bindingSource to the listbox and several other components, but the problem is that the number of tables in my database changes constantly and i do not want to create a table adapter for and ever one.
    Sunday, March 22, 2009 7:14 AM

All replies

  • You should be more specific. If number of tables changes you would need to provide different binding anyway and query data differently using DataAdapter or DataReader. It is not something automatic that works for any tables in any situation. If you could describe in more details about what you are trying to achieve someone in this forum might give you useful hints.

    Val Mazur (MVP)
    Tuesday, March 24, 2009 9:58 AM