Formview and TypedView Entities

Posts   
 
    
zgar
User
Posts: 10
Joined: 17-Jul-2008
# Posted on: 17-Jul-2008 02:44:31   

I have been trying to fill a FormView with an entity created from a view. I am able to retrieve entity information (fetching from an adapter) just fine, but I am not able to get it to work as a DataSource for a FormView or DataGrid (nothing is populated). I have also tried a TypedList with the same results.

I realize this is a pretty vague description, I'm just hoping someone has run into the same problem because it is probably something obvious I am overlooking... What I have tried is to: (1) create the view in SqlServer (2) add it to the LLBLGen project (3) add view as entity and choose primary key (4) update code (5) cry

Please let me know if anyone has any ideas or needs a better description.

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 17-Jul-2008 06:30:42   

zgar wrote:

(5) cry

I can't reproduce that stuck_out_tongue_winking_eye

Hi there, please post this important information:

  • Are you using LLBLGenProDataSource to bing between your TypedList and the control? if you are, please post the declarative ASPX of the LLBLGenProDataSource and the control (Grid or TypedView).

  • When are you fetching the data? If you are using LLBLGenProDataSource, is it LivePersistance=true or false?, if false, please post the PerformSelect event handler.

  • LLBLGenPro version and RuntimeLibraries version.

David Elizondo | LLBLGen Support Team
zgar
User
Posts: 10
Joined: 17-Jul-2008
# Posted on: 18-Jul-2008 19:19:15   

Thank you for the quick reply. We just made some changes to the database so it took me a little bit to get back into it. I redid everything and added a view as an entity etc. and it worked just as advertised... I knew it was probably something I was just messing up along the way (I'm pretty new to this).

I wanted to say that LLBLGen is a great product and has made things much easier on me. I am also glad to see the support offered to the users; this is the only time I have posted, and I got a reply within a few hours. Thank you again and keep it up!

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 18-Jul-2008 20:34:41   

Good everything work at the end wink

And thanks for the positive feedback simple_smile

David Elizondo | LLBLGen Support Team