How to set up where to store data in SQL Server
You could also control it with:


detaching the database in SQL management studio
move the *.mdf and *.ldf file to the location you desire (C:/ or D:/)
reattaching the database by selecting the new path.