Issues witht the LLBLGEN demo

Posts   
 
    
Harish
User
Posts: 3
Joined: 09-Apr-2008
# Posted on: 16-Apr-2008 01:13:05   

I am new to LLBLGEN and I am messing around with the demo and trying to build a grid by assign datasource to the grid programmatically.

I am having issues when I am doing this in the page load.

Dim fields As ResultsetFields = New ResultsetFields(3) fields.DefineField(CategoriesFieldIndex.AmountOfFields, 0)

It says that

Value of type "Northwind.CategoriesFieldIndex" canoot be converted to "SD.LLBLGEN.Pro.ORMSupportClasses"

I am not able to figure out whats causing this issue. I hope someone will help me out with this issue.

Thank you,

Harish

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39903
Joined: 17-Aug-2003
# Posted on: 16-Apr-2008 09:04:15   

You posted in the wrong forum simple_smile

I've moved it to generated code.

About your question: use: fields.DefineField(CategoriesFields.AmountOfFields, 0)

The syntax you're using is the old syntax of v1.x, which is still available if you place the backwardscompatibility template bindings (at tab 2 in the generated code configuration dialog right before you generate code) above the normal bindings

Frans Bouma | Lead developer LLBLGen Pro
Harish
User
Posts: 3
Joined: 09-Apr-2008
# Posted on: 16-Apr-2008 15:50:37   

Thanks for the reply.

I have set the template binding to the backward compatibility .NET 1x. Even then it shows the error.

One more question is why do we select the task name as SD.TASKS.GENERIC.ENTITYCLASSESDIRECTORYCREATOR under "Task queue to execute" tab.

I really like this tol and I really want to show a demo to my teammates so that we can start using this great tool.

Thank you,

Harish

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 16-Apr-2008 18:04:32   

One more question is why do we select the task name as SD.TASKS.GENERIC.ENTITYCLASSESDIRECTORYCREATOR under "Task queue to execute" tab.

I'm not quite sure I understand your question. But if you're asking what's the use of this task, then the answer is: it created the folder which will contain the generated entity classes files.

Harish
User
Posts: 3
Joined: 09-Apr-2008
# Posted on: 16-Apr-2008 19:55:04   

thanks for the reply...

I did not get answer to my first question. Please be kind and reply to the first question.

Thank you,

Harish

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39903
Joined: 17-Aug-2003
# Posted on: 16-Apr-2008 20:38:40   

Harish wrote:

thanks for the reply...

I did not get answer to my first question. Please be kind and reply to the first question.

Thank you,

Harish

You should use the code I posted above. Did you try that instead?

Frans Bouma | Lead developer LLBLGen Pro
quyetvv
User
Posts: 2
Joined: 17-Apr-2008
# Posted on: 17-Apr-2008 11:45:01   

Sorry Otis ,But my problem is very hungry so i decide to post this mes again in here . I have been used llblgen Pro 2.0 and it is really good for me . Now , i have a project which need to connect to a database on sql server CE as i read from your site i know that llblgen Pro 2.5 support for sql CE I also download a demo and try to create a project But when i create project i don't see any data driver which like sql Ce ( i'm using sql ce 3.1 and Visual studio 2005 ) . I dont understand reason for it . Maybe reason in demo version and i need a full version ? how can i use llblgen for this purpose ? Can you help me ? Thanks for your readings and helpings !

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 17-Apr-2008 11:50:06   

You don't have to post more than once.

I've already answered your question at http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=12740

Next time, it would be better if you start a new thread, rather than using an old one.

Forum Guidelines: http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=7725