Do While ds.. <-------
RichTextBox1.Text = ds.Tables("AddItem").Rows(row).Item(colum).ToString()
Loop
i want to do loop that have index that can retrieve all of the result from sql command into the textbox but i don't know how to put the expression after the Do while/while/for..can anyone help,any opinion guys
i want to do loop that have index that can retrieve all of the result from sql command into the textbox but i don't know how to put the expression after the Do while/while/for..can anyone help,any opinion guys


Sibeesh VenuRank #27 · 42.9K reputationPosted Jun 29, 2015, 9:14 PM EDT
Dim index As Integer = 0 Do Debug.Write(index.ToString & " ") index += 1 Loop Until index > 10 Debug.WriteLine("") ' Output: 0 1 2 3 4 5 6 7 8 9 10King Umar106 reputationPosted Jun 29, 2015, 10:18 PM EDT