D Daniel R. Rossnagel Nov 23, 2005 #1 Somebody knows as I can determine whichever TableAdapter has a DataSet, and if I can obtain a list of these?
Somebody knows as I can determine whichever TableAdapter has a DataSet, and if I can obtain a list of these?
E Eduardo Arévalo Nov 23, 2005 #2 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
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