LLBLGenProDataSource

Posts   
 
    
joao_matos
User
Posts: 2
Joined: 09-May-2007
# Posted on: 09-May-2007 16:35:17   

Hello, i have a LLBLGenProDataSource that simply fectchs all active records in DB, by some reason it doesn't recognize the Active as a field in the entity.

Am i doing something wrong?

<llblgenpro:LLBLGenProDataSource ID="LLBLGenProDataSourcePaises" runat="server" DataContainerType="EntityCollection" EntityCollectionTypeName="dalEOnline.CollectionClasses.PaisesCollection, dalEOnline" CacheLocation="Session"> <SelectParameters> <aspstuck_out_tongue_winking_eye arameter DefaultValue="True" Name="Active" Type="Boolean" /> </SelectParameters> </llblgenpro:LLBLGenProDataSource>

Best Regards.

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 09-May-2007 17:08:41   

Hello, i have a LLBLGenProDataSource that simply fectchs all active records in DB, by some reason it doesn't recognize the Active as a field in the entity.

Do you mean it doesn't filter on the Active field, or it doesn't diplay the Active Column after correctly fetching them?

joao_matos
User
Posts: 2
Joined: 09-May-2007
# Posted on: 10-May-2007 18:35:46   

It doesn't fecth only the active records. (Active is a field of the entity).

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 11-May-2007 08:59:52   

Please try to set the Active parameter in the code behind/PageLoad event.