Whichever TableAdapter has the DataSet?

  • Thread starter Thread starter Daniel R. Rossnagel
  • Start date Start date
D

Daniel R. Rossnagel

Somebody knows as I can determine whichever TableAdapter has a DataSet, and
if I can obtain a list of these?
 
Daniel:

Try this code:


System.Reflection.Assembly a =

System.Reflection.Assembly.GetExecutingAssembly();

Type[] tipos = a.GetTypes();

ArrayList forms = new ArrayList();

foreach (Type t in tipos)

{

if (t.BaseType == typeof(DataTable))

{

MessageBox.Show("Found a DataTable!!");

}

}



Regards,

Eduardo Arévalo
 
Back
Top