Importing DXF files in DB or DBF files

I have the need of  importing datas contained in autocad dxf files to db or
dbf. Does anyone knows a routine, a DLL or a component capable of doing
this operation?
Every single trait (line) must be imported in a different record, with
starting coordinates, length and final coordinates.
Thank you for your collaboration.