Hello people
I have made a datatable with certain column names, I put the result from a SQL Query into the data table.
now is my problem
when I loop all items in a certain column I recieve this message:
[highlight #CC0000]There is no row at position 10.[/highlight]
this is my code:
Could someone help me?
Thank you in advance.
I have made a datatable with certain column names, I put the result from a SQL Query into the data table.
now is my problem
when I loop all items in a certain column I recieve this message:
[highlight #CC0000]There is no row at position 10.[/highlight]
this is my code:
Code:
If HashDatatable1.Rows.Count > 0 Then
For i As Integer = 0 To HashDatatable1.Rows.Count
Dim cm As String = HashDatatable1.Rows(i).Item(18)
MsgBox(cm)
Next
End If
Could someone help me?
Thank you in advance.