Loop through all dataadapters

  • Thread starter Thread starter Vik
  • Start date Start date
If you drop them onto your form at design time then it may be possible to
loop through the controls collection and then work with each control where
the TypeOf var Is System.Data.SQLClient.DataAdapter.
If you create them at runtime then they wouldn't be in the controls
collection. Instead you'd have to add them to a collection of your own and
then loop through that.
 
Thanks.

Which controls collection contains the dataadapters added at design time? It
seems the dataadapters are not a part of a page's controls.

Vik
 
Back
Top