G
Guest
Hello
I added my database (Access) to the data sources window.
Now I can drag tables and views on any form I want, which automatically
creates data-bound controls, tabeladapters and so on.
When I use the same table (as a datatable) on more then 1 form I need to
drag the same table again, which again creates Tableadapters, and so on. the
tableadapter needs to fill again, and so on. I though the data sources window
offered a central approach but seperate objects are generated.
I have written the databindings in code and created a datatable which is
created from the bindingsource on the main form. Now I don't have the ability
to drag and drop and I need to bind all the controls in code. Isn't there a
more simple approach?
Many thanks in advance for your answer.
I added my database (Access) to the data sources window.
Now I can drag tables and views on any form I want, which automatically
creates data-bound controls, tabeladapters and so on.
When I use the same table (as a datatable) on more then 1 form I need to
drag the same table again, which again creates Tableadapters, and so on. the
tableadapter needs to fill again, and so on. I though the data sources window
offered a central approach but seperate objects are generated.
I have written the databindings in code and created a datatable which is
created from the bindingsource on the main form. Now I don't have the ability
to drag and drop and I need to bind all the controls in code. Isn't there a
more simple approach?
Many thanks in advance for your answer.