you need this http://www.oracle.com/technology/tech/windows/odpnet/index.html and there are more samples on the same site also