i am creating the xml documet with the xmlDocumet class object and i save it in the local folder and send that to the mail add as attachment after sending the mail i am delete that file but at the deletion it throws the error that is
that is used by another process you can't access but the xmlDocument object have not any dispose or finalize method then how to dispose that xmlDocument Object
How to dispoes the xmlDocument object
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Zoran HorvatRank #792 · 2.9K reputationPosted Dec 4, 2010, 12:53 PM EST
Koteswararao MallisettiRank #2,740 · 511 reputationPosted Dec 5, 2010, 10:52 PM EST