New Columns for data binding

Posts   
 
    
krkc
User
Posts: 20
Joined: 12-Apr-2006
# Posted on: 29-May-2006 11:27:37   

Hi,

I have a new requirement in my project as the end users should be able to create new columns in a given table. I have created the UI for doing this.

Now I would like to know how I can bind the data of this newly created columns in UI Layer.

I am using self-servicing for my current project.

Regards, Ravi

krkc
User
Posts: 20
Joined: 12-Apr-2006
# Posted on: 29-May-2006 15:47:18   

krkc wrote:

Hi,

I have a new requirement in my project as the end users should be able to create new columns in a given table. I have created the UI for doing this.

Now I would like to know how I can bind the data of this newly created columns in UI Layer.

I am using self-servicing for my current project.

Regards, Ravi

I've been waiting for the valuble suggession.

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 29-May-2006 16:01:46   

LLBLgen Pro doesn't support dynamically creating tables or Columns at runtime.

Now I would like to know how I can bind the data of this newly created columns in UI Layer.

I didn't understand the above question, would you please elaborate more.

krkc
User
Posts: 20
Joined: 12-Apr-2006
# Posted on: 29-May-2006 16:17:34   

Walaa wrote:

I didn't understand the above question, would you please elaborate more.

Hi..

I have a webpage with 9 textboxes that are binded to a table. Now the requirement is in such a way that the user can create new columns to this table by means of the existing UI. Now when the new columns are created I don't want to create/update the LLBL DLL, instead the application should automatically bind the new columns to the controls on the page.

Regards, Ravi

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39928
Joined: 17-Aug-2003
# Posted on: 29-May-2006 16:38:45   

You can't use dynamic fields in entities, as the entity classes are static: they're compiled at compile time, and you can't add dynamic properties to a class, so what you want to achieve isn't possible.

Frans Bouma | Lead developer LLBLGen Pro