Data Layer and UI Layer



Hi,
I learned that we should keep Data Layer seperate from User Interface layer.
My question is should we :
1. Keep Data Layer code in a seperate project
2. Add a new class for Data Layer within the same project where user
interface code exists.

Thanks
Rob


.