Edit, sorry, just remembered you are doing VB.Net.
You already have the code to go next. You have
While postCount3.Read()
which will read a record until it hits the end of your while and then it will call .Read() again and again until there are no more records.
End Edit
A lot has changed since then including the use of usings. So, your code should look something like this:
try
{
String sql = "StoredProcedureName";
using (SqlConnection sqlCon = new SqlConnection(connectionString))
{
sqlCon.Open();
using (SqlCommand cmd = new SqlCommand(sql, sqlCon))
{
cmd.CommandType = System.Data.CommandType.StoredProcedure;
using (SqlDataReader dr = cmd.ExecuteReader())
{
if (dr.HasRows)
{
while (dr.Read()){
{
someVar.field1 = dr["field1"].ToString();
}
}
}
}
}
}
catch (Exception ex)
{
Log.LogError(ex);
}