well as others pointed out, here is what u did wrong that u did not get the correct result:
u took this substitution t=e^{-x^{2}},
now after u defferentiate we get -2xe^{-x^{2}}dx=dtor
-2xtdx=dt now divide by -2t and we get,( you should have done this way)
xdx=\frac{dt}{-2t} and now go back and substitute for xdx, and also for t=e^{-x^{2}}
\int_0^{\infty}xe^{-x^2}dx=\frac{-1}{2}\int_1^{0}\frac{tdt}{t}=-\frac{-1}{2}\int_0^{1}dt=\frac{1}{2}\int_0^{1}dtand here is your second mistake,you did not change the sign of the ingegral when you switched boundaries.
Now i am sure u know how to go about the rest, so the answer obviously will be 1/2.
Look i am not even sure that this is a safe way to pursue, the reason that we got to the correct result might have been accidental, look it is more safe to use limits in these cases, at least i prefere to use them.