Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Postback issues

Reply
Thread Tools

Postback issues

 
 
=?Utf-8?B?am9obiBzbWl0aGVycw==?=
Guest
Posts: n/a
 
      08-29-2004
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?

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using callback, I fill dorpdownlist without postback but it gets empty when a postback is executed Fabio Mastria ASP .Net 5 01-30-2008 09:07 PM
ShowDialogModal postback on close (this is not related to multiple dialogs opening upon postback) Jacky Chau ASP .Net 2 06-08-2005 05:49 PM
Can I raise a postback ? Session variable only visible after postback. Please help gce ASP .Net 2 05-08-2005 05:55 AM
Postback not being set to True on first postback =?Utf-8?B?Q2hhZA==?= ASP .Net 2 04-04-2005 06:17 PM
effecting postback without auto postback controls Psych971 ASP .Net 5 12-17-2004 08:53 PM



Advertisments