Formview refreshing on postback when bound to a custom Business Object

Discussion in 'ASP .Net' started by Enigma Boy, Aug 14, 2007.

  1. Enigma Boy

    Enigma Boy Guest

    Hi Folks,

    If I bind my formview to a dataset business object all works well, but when
    I bind it to my own custom class business object it refreshes on each
    postback. I am trying to do an insert and instead of returning bool from
    the insert method I am returning an int which is the ID of the newly added
    record.

    --
    <a href="http://1pakistangifts.com">Send Gifts to Pakisan at #Pakistan Gifts
    Store</a> | <a href="http://dotspecialists.com">Leading Software offshoring
    and outsourcing service provider</a> | <a
    href="http://websitedesignersrus.com">Professional Websites at affordable
    prices</a>
     
    Enigma Boy, Aug 14, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?S2VsbHkgUw==?=
    Replies:
    1
    Views:
    380
    =?Utf-8?B?QmluIFNvbmcsIE1DUA==?=
    May 19, 2004
  2. =?Utf-8?B?S2h1emVtYQ==?=

    Object Data Source and Custom Business Object

    =?Utf-8?B?S2h1emVtYQ==?=, Jun 27, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    785
    =?Utf-8?B?S2h1emVtYQ==?=
    Jun 27, 2005
  3. Stuart Ferguson
    Replies:
    1
    Views:
    4,995
    =?Utf-8?B?UGhpbGxpcCBXaWxsaWFtcw==?=
    Apr 3, 2006
  4. Phillip Vong
    Replies:
    0
    Views:
    415
    Phillip Vong
    Jul 27, 2006
  5. Replies:
    0
    Views:
    509
Loading...

Share This Page