whejob.blogg.se

Vb net 2010 get first row of dataset
Vb net 2010 get first row of dataset












vb net 2010 get first row of dataset

īut very strangely in the second part where i m just shifting the data from the DataSet to the DataGridView it takes more than four seconds thats mean almost 5 time slower than the first part. The firs part is executing very quickly (less than a minute). Rows(RowNo).Cells( 5).Value = MyDataSet.Tables( 0).Rows(RowNo).Item( 5) Rows(RowNo).Cells( 4).Value = MyDataSet.Tables( 0).Rows(RowNo).Item( 4) Rows(RowNo).Cells( 3).Value = MyDataSet.Tables( 0).Rows(RowNo).Item( 3) Rows(RowNo).Cells( 2).Value = MyDataSet.Tables( 0).Rows(RowNo).Item( 2) Rows(RowNo).Cells( 1).Value = MyDataSet.Tables( 0).Rows(RowNo).Item( 1) Rows(RowNo).Cells( 0).Value = MyDataSet.Tables( 0).Rows(RowNo).Item( 0) RowCount = 0 While RowNo <= MyDataSet.Tables( 0).Rows.Count - 1














Vb net 2010 get first row of dataset