Beispiel #1
0
 string[] IMyPropertyValueListProvider.GetPropertyValueList(string propname)
 {
     if (propname == "MyDataSource")
     {
         return(KlonsDataModule.GetAllDataSetNames());
     }
     else
     {
         return(null);
     }
 }
Beispiel #2
0
 string[] IMyPropertyValueListProvider.GetPropertyValueList(string propname)
 {
     if (propname == "MyDataSource")
     {
         return(KlonsDataModule.GetAllDataSetNames());
     }
     if (propname.StartsWith("Table") || !string.IsNullOrEmpty(MyDataSource))
     {
         return(KlonsDataModule.St.GetTableNames(MyDataSource));
     }
     return(null);
 }