/ Published in: VB.NET
Assuming your DataSet (named, ds) is already populated with Data and contains only one table.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
For Each DataRow As DataRow In ds.Tables(0).Rows Dim outData as String outData = DataRow("fieldName").toString Next
URL: http://codefinds.blogspot.com/2008/12/loop-through-dataset.html