<p>I have Visual Studio web test attached nicely to a data source, but I need to be able to iterate over each entry in the data source. How should I do this?</p>

This
article
seems to Discuss something quite like what you're talking about.
Good luck.
Ola
EDIT:
From the linked article, your DataSource is exposed to your test via an attribute.
```
```
[DataSource("System.Data.SqlClient",
    "Data Source=VSTS;Initial Catalog=ContactManagerWebTest;
    Integrated Security=True", "ValidContactInfo",
    DataAccessMethod.Sequential), TestMethod()]
```
```
There are several other DataSources you can link to, for example CSV, or even Parameters of a Test Case in TFS. Be sure to include the
```
DataAccessMethod.Sequential
```
. If there are multiple rows in the table indicated by the
```
DataSourceAttribute
```
, then each test run will have
```
TestContext.DataRow
```
pointing to the current row/iteration for the test.