alright i am using this but it doesn't seem to work right
Me.DQuestionDetail.PageIndex = Val(Me.lblQCColumn.Text)
Me.DQuestionDetail.DataBind()
Me.txtQCLatinName.Text = ""
Me.lblQCCommonName.Text = Me.DQuestionDetail.Rows(2).Cells(1).Text
DQuestionDetail is a DetailView
and the lblqccommonname is a label
with this statement the detail view shows the correct new index
but the label always lags one index behind
like if i make the page index 1 then the label will still show information from index 0
then if the index =2 then the label will show stuff from index 1
The databind should fix that but it isnt working now