To work Data mode in samsung Galaxy Ace two settings to be set enables. for this goto
Settings >> Wireless and Networks >> Mobile Networks
Enable
Packet Data
and
Dataroaming
If necessary disable wifi for the moment and restart still if it doesnt work for you, again if its not working, check your APN from your provider