S
slonocode
I see many examples of subs or functions that intialize a connection,
dataadapter, commands, parameters, etc. and then fill a datatable or
dataset table.
So my question comes from how do you handle dataadapters and scope? Do
you just recreate the dataadapter when you need to persist changes or do
you make dataadapter global scope so that it's always avaialable?
I seem to see so many examples where dataadpater is local scope to
filling a table and then i wonder how the update to database is handled.
Thanks
Slonocode
dataadapter, commands, parameters, etc. and then fill a datatable or
dataset table.
So my question comes from how do you handle dataadapters and scope? Do
you just recreate the dataadapter when you need to persist changes or do
you make dataadapter global scope so that it's always avaialable?
I seem to see so many examples where dataadpater is local scope to
filling a table and then i wonder how the update to database is handled.
Thanks
Slonocode