I have the following code which does what it's supposed to do:
objSQLCommand = New SqlCommand("select * from table1", objSQLConnection)
objSQLCommand.Connection.Open()
objSQLDataReader = objSQLCommand.ExecuteReader()
While objSQLDataReader.Read()
objStringBuilder.Append(objSQLDataReader("forename"))
objStringBuilder.Append("<br /><br />")
objStringBuilder.Append(objSQLDataReader("surname"))
objStringBuilder.Append("<br /><br />")
End While
objSQLDataReader.Close()
objSQLCommand.Connection.Close()
But I need to loop through the objSQLDataReader 1 more time. How would I do that?