TypedList and LLBLGenDataSource2

Posts   
 
    
pandu avatar
pandu
User
Posts: 86
Joined: 18-May-2006
# Posted on: 25-Oct-2006 15:40:42   

Hi:

I have created a TypedList with following Columns:

UserName FirstName LastName WorkPhone

But when I bind it with the LLBLGenDataSource2 control and show it in the GridView, the GridView shows the following columns:

RowError UserName WorkPhone FirstName HasErrors LastName

Where the RowError and HasErrors came from? How do I get rid of that?

Thanks.

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 25-Oct-2006 16:43:04   

You can get rid of them if you declare your columns in the aspx file. With GridView's property "AutoGenerateColumns" set to false.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 25-Oct-2006 16:51:16   

To make this easy: you can define the columns in the designer and via the smarttag on the gridview, you can access 'Edit columns' and from there remove these two columns.

Frans Bouma | Lead developer LLBLGen Pro