Postback issues

G

Guest

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?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top