GAUSS8 2008 Problem 22

A 3\times3 grid is filled with the digits 1,2 and 3 so that each number appears once in in each row and column. Two different examples are gauss8 2008 22 and gauss8 2008 22b

How many different ways are there of filling the grid?

Answer Choices
A. 42
B. 12
C. 10
D. 8
E. 6