LLBLGenProDataSource2 does not work

Posts   
 
    
mario.muja avatar
mario.muja
User
Posts: 37
Joined: 03-May-2005
# Posted on: 31-Oct-2006 16:11:34   

I cannot get the LLBLGenProDataSource2 control to work correctly.

I have added the control to the toolbox in VS2005 and dragged the control to an empty web form. When I now choose "Configure Data Source...", the drop downs "DataAccessAdapter to use" and "Entity Factory to select" contain no entries.

I don't know, how to address a particular EntityCollection with these empty combo boxes. I have tried to set LivePersistence to false, but the combo boxes still do not show up any entries.

I would like to be able to bind to entity collections only by using the mouse.

Is it possible with the current version of LLBLGen to complete the binding of, for example, a grid view without writing a line of code, so that the data is shown in the grid view when I start the app?

Regards, Mario

Jessynoo avatar
Jessynoo
Support Team
Posts: 296
Joined: 19-Aug-2004
# Posted on: 31-Oct-2006 18:59:19   

Hi,

this is a known issue, probably due to the fact that your toolbox referenced dll and project reference are not in sync.

See the following post:

http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=6350

mario.muja avatar
mario.muja
User
Posts: 37
Joined: 03-May-2005
# Posted on: 31-Oct-2006 19:29:45   

Thanks. At the moment, I don't have the possibility to test again.

I don't understand, how the ORM support DLL can be different on the same computer. Isn't only one version of the ORM support DLL installed on my computer?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 31-Oct-2006 20:14:49   

It's vs.net that's causing this problems. We don't know what causes it, though we do know that it's very random, we have had 2 systems, same site, same form loaded into vs.net, one did have the types, the other didn't. The control asks vs.net for the types which implement an interface in the ormsupportclasses so if this list is empty, vs.net thus didn't report any types.

Frans Bouma | Lead developer LLBLGen Pro
mario.muja avatar
mario.muja
User
Posts: 37
Joined: 03-May-2005
# Posted on: 02-Nov-2006 10:12:42   

My customers would like to do their own prototyping using LLBLGen. They are not C# pros but are able to handle the VS2005 GUI (dragging controls from the toolbox and so on).

Assuming that the datasource control works after I have checked the references, is it then possible with the current version of LLBLGen to complete the binding of, for example, a grid view without writing a line of code, so that the data is shown in the grid view when I start the app?

And would it be possible to set parameter values using the VS2005 GUI to filter the results of an EntityCollection without writing a line of code (as possible for stored procedure parameter values using an SqlCommand from the toolbox)?

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 02-Nov-2006 14:42:04   

Have a look at the following thread & the video link posted there: http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=6410