Can someone show me how to read all the records from a database?

Here's what i have:
---
MyCommand.CommandText = "SELECT * FROM swdata";
OdbcDataReader MyDataReader;
MyDataReader = MyCommand.ExecuteReader();

< what code goes in here?>

MyDataReader.Close();
MyConnection.Close();
---

thanks