Information générale
Titre:
Opening and Closing data files
I have a sample app I'm building.
In an earlier implementation I placed code to connect, open, do stuff to, and close my data inside each function that needed such things.
In my current implementation I used the wizards for the DataAdapters and DataSets and bound my DataGrid and textboxes to fields in my DataSets. I didn't explictly write any code to connect, open, or close my data.
I'm wondering how this works? (in truth there are parts I don't have working, but maybe that's another story?)
Does using the wizard approach result in my connection and files being open during the entire time my app is running?
Eventually I'll be switching this over from a VB desktop/Windows app to a Web app. Is there a preferred approach to data access for Web apps? Is there anything special involved in switching a windows app to a web app? Will I need to start from scratch?
Thanks...
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement