How do I make sure that an object is released in code such as a connection or file object?
Mahesh Chand
You should use Using statement provided by CSharp. You can touch base with me on http://dotnetpiper.blogspot.in/