How do I connect to a database and loop over a recordset in C#? How do I connect to a database and loop over a recordset in C#? database database