Rowupdating index was out of range

Row Updated End Sub Protected Sub Grid View1_Row Updating(By Val sender As Object, By Val e As System.

Row Updating Dim updaterow As New Data Set1Table Adapters.

Open() ' create a new dataset Dim ds As Data Set = New Data Set ' fill dataset da.

Connection String = conn String ' create a data adapter Dim da As Ole Db Data Adapter = New Ole Db Data Adapter("SELECT Table1.* FROM Table1", my Connection) my Connection.

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.

Find Control("lb1_rosterkey"), Label) Dim Col1_Start Time = CType(Gridview1.

Parameter name: index" The following is the vb code: Protected Sub Grid View1_Row Updating(By Val sender As Object, By Val e As Grid View Update Event Args) If e.

Fill(ds, "Table1") Dim obj Data View As New Data View(ds.

Find Control("cb2_APH"), Check Box) Dim Col2_TOIL = CType(Gridview1.

Find Control("cb2_TOIL"), Check Box) Dim Col2_Others = CType(Gridview1.

Search for rowupdating index was out of range:

rowupdating index was out of range-80rowupdating index was out of range-68rowupdating index was out of range-13rowupdating index was out of range-58

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “rowupdating index was out of range”