This question is locked. New answers and comments are not allowed.
Hi,
I've recently tried OpenAccess and wanted to build a winforms application with it. I was able to get fetch data from the database inside mstest. But when i try the same method in my form, no data are display in my dropdownlist.
I've put breakpoint in the application and it seems that right after the getall<> it skip everything else that are after.
The BuildCollection method is suppose to create a collection that i use to databind my controls, but it isn't call. I also tried to call the same method with "using" and i still get the same comportment.
I know i might doing something wrong, but i'm unable to figure it out.
Thx for your help,
Guillaume
I've recently tried OpenAccess and wanted to build a winforms application with it. I was able to get fetch data from the database inside mstest. But when i try the same method in my form, no data are display in my dropdownlist.
I've put breakpoint in the application and it seems that right after the getall<> it skip everything else that are after.
MyModel model =
new
MyModel();
List<ItemType> itemTypes = model.GetAll<ItemType>().ToList();
return
BuildCollection(itemTypes);
The BuildCollection method is suppose to create a collection that i use to databind my controls, but it isn't call. I also tried to call the same method with "using" and i still get the same comportment.
I know i might doing something wrong, but i'm unable to figure it out.
Thx for your help,
Guillaume