As a D90 user, I'm biased.

I've never used the 18-105, though I've heard good things (for a kit lens).
However, the T2i is a good camera.
Here are some links to compare.
http://www.dxomark.com/index.php/eng...(brand2)/Canon
http://www.dpreview.com/reviews/compare_post.asp