What error? It was truncated in the subject.
I think I know what your issue is anyway:
myDataAdapter.SelectCommand.CommandText = _
"Select col1, col2, col3, col4" & _
"from table1 order by col1"
There is a space missing between col4 & from. Your command would be:
"Select col1, col2, col3, col4from table1 order by col1"
It is faster in VB
.NET to use a string builder rather than the &.
John R Lick