updating datalist

Discussion in 'ASP .Net' started by =?Utf-8?B?bWFoc2E=?=, Jun 3, 2004.

  1. Hi I have a Datalist that can Update each row my problem is i have a edit update and remove link in datalist when user click edit it show update and cancel button but when they click update button it again show update and cancle I want it to show edit button and dont show update and cancel do you have any idea?
     
    =?Utf-8?B?bWFoc2E=?=, Jun 3, 2004
    #1
    1. Advertising

  2. =?Utf-8?B?bWFoc2E=?=

    avnrao Guest

    after updating set the EditItemIndex to -1 and bind the datasource.

    Av.
    "mahsa" <> wrote in message
    news:...
    > Hi I have a Datalist that can Update each row my problem is i have a edit
    > update and remove link in datalist when user click edit it show update and
    > cancel button but when they click update button it again show update and
    > cancle I want it to show edit button and dont show update and cancel do
    > you have any idea?
     
    avnrao, Jun 3, 2004
    #2
    1. Advertising

  3. thank you :)
     
    =?Utf-8?B?bWFoc2E=?=, Jun 3, 2004
    #3
    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. Colin Young

    Problem with DataList and updating data

    Colin Young, Aug 18, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    423
    Tian Min Huang
    Aug 20, 2003
  2. Gönen EREN

    Datalist in Datalist How?

    Gönen EREN, Aug 22, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    425
    Gönen EREN
    Aug 22, 2003
  3. Nevyn Twyll
    Replies:
    8
    Views:
    1,972
  4. H5N1
    Replies:
    0
    Views:
    2,771
  5. news.rcn.com
    Replies:
    2
    Views:
    1,183
    Roedy Green
    Dec 10, 2007
Loading...

Share This Page