Rowupdating index was out of range

posted by | Leave a comment

Close() End Sub Protected Sub Grid View1_Row Deleted(By Val sender As Object, By Val e As System. Row Deleted End Sub Protected Sub Grid View1_Row Deleting(By Val sender As Object, By Val e As System. Find Control("Col1_Start Time"), Time Selector) Dim Col1_End Time = CType(Gridview1. Find Control("Col1_End Time"), Time Selector) 'Tuesday Dim Col2_SL = CType(Gridview1. Find Control("cb2_APH"), Check Box) Dim Col2_TOIL = CType(Gridview1. Find Control("cb2_TOIL"), Check Box) Dim Col2_Others = CType(Gridview1. Parameter name: index" The following is the vb code: = 0 Then Dim row As Grid View Row = Direct Cast(Gridview1. Row Index), Grid View Row) Dim Col1_SL As Check Box = Direct Cast(row.

Must be non-negative and less than the size of the collection. OLEDB.12.0; Data Source=|datadirectory|\database3.accdb" Dim my Connection As Ole Db Connection = New Ole Db Connection my Connection. Page Public Sub binddata() Dim conn String As String = "Provider= Find Control("cb1_SL"), Check Box) Try to search the control in the row cells like row. Find Control("cb1_SL") Thanks, I had set the enableviewstate to true now. But when running the Row Updating event, it get the upper row data. Find Control("cb1_SL"), Check Box) Dim Col1_VL = CType(Gridview1. Bind Data() End If End Sub= 0 Then Dim row As Grid View Row = Direct Cast(Gridview1. Row Index), Grid View Row) Dim Col1_SL As Check Box = Direct Cast(row. Find Control("cb1_VL"), Check Box) Dim Col1_ML = CType(Gridview1.

Leave a Reply

Free online hot sex chat sighs