This tutorial is quite good, have a look at the examples: How to Use Tables