Postback issues

Discussion in 'ASP .Net' started by =?Utf-8?B?am9obiBzbWl0aGVycw==?=, Aug 29, 2004.

  1. Dim index As Integer

    index = e.Item.ItemIndex

    DsSchedule1.Monday_Schedule.Rows(index).Delete()

    OleDbDataAdapter2.Update(DsSchedule1, "Monday_Schedule")

    dgMonday.DataBind()



    now everytime i run this say in a datagrid with three items everytime time i
    refresh after deleting say the top item all subsequent items get deleted on
    each refresh. Now I know this is a postback issue as it is issuing a postback
    everytime i click f5 thus how do i handle this or stop it at all?
     
    =?Utf-8?B?am9obiBzbWl0aGVycw==?=, Aug 29, 2004
    #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. Kevin Spencer

    Re: Viewstate issues... no values on postback

    Kevin Spencer, Aug 27, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    536
    Kevin Spencer
    Aug 27, 2003
  2. Paul

    Postback issues

    Paul, Dec 24, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    338
    Victor Garcia Aprea [MVP]
    Dec 27, 2003
  3. Bob Trabucco

    Datagrid Postback issues

    Bob Trabucco, Jan 16, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    1,686
    Bob Trabucco
    Jan 19, 2004
  4. macduder83

    Inheritance + Postback issues

    macduder83, Apr 14, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    363
    macduder83
    Apr 15, 2005
  5. Bob Rock
    Replies:
    0
    Views:
    366
    Bob Rock
    Sep 17, 2006
Loading...

Share This Page