Getting the SqlDataAdapter list at run time

  • Thread starter Thread starter =?iso-8859-1?Q?Luc_Tr=E9panier?=
  • Start date Start date
?

=?iso-8859-1?Q?Luc_Tr=E9panier?=

How can I get the list of all SqlDataAdapters in the form
at run time. I don,t want to do somthing like

ME.SQLDATAADAPTER1...
ME.SQLDATAADAPTER2...

Instead, I'd like to iterate through a collection or
something like that. The same question also applies to
DataSet.

Any suggestion?

Thanks.

Luc.
 
There's no built-in tracking for this. If you need to keep a list of active
DA's or DS objects, add their references to some sort of collection or array
object in your code when you create them...
 
Back
Top