I’m doing a C# course this summer and in the current task I’m going to work with a database. Very interesting and I’m eager to get working, but I’m totally lost right now(perhaps my blood suger is low)! According to the demands of the task, I must use a disconnected approach using DataSets or dataTables, DataAdapters and CommandBuilders to load the a copy of the database into memory to work with it(open, read and close) and then when I want to update the database, do the opposite(open, save and close)
I have created a SQL Server 2008 database and I have also created a table. Hmmm, now what!? I guess I have to begin to connect to the database and select the table. It’s from here and forward that I would apreciate some hints. Looking forward to get starting! Thanks!
it depends on two parameters
If you feel that these two parameters are important and can slow your application, then uses the offline mode.
the amount of data can mitigate the bandwidth
Below an example