Setting entity property in Item_inserting event (using Entitydatasource)

2 posts, 0 answers
  1. Rickard
    Rickard avatar
    2 posts
    Member since:
    Oct 2010

    Posted 26 Oct 2010 Link to this post

    Hi I have created a Listview from a EntityDatasource using All properties.
    When I want use insert in listview also want to set some properties programmatically in the

    ListView1_ItemInserting(

     

    object sender, ListViewInsertEventArgs e)

     

    event.

    Things I want to set is for example, chanheddate, and some other properties which I removed from the template that was created.
    How do I reach the entity properties? I cant find a way todo this.
  2. Rickard
    Rickard avatar
    2 posts
    Member since:
    Oct 2010

    Posted 28 Oct 2010 Link to this post

    Nevermind you use the events for the entitydatasource, my bad.
Back to Top