Transaction block

Hi,
I am using sql server2005 as a database for my application…I want to
use transaction block in my code…if i use it is not roll backing if
anything went wrong…whether sqlserver2005 will support transaction
block or not?
pls help me

with regards
shiva