I think Christian is correct, but you should also put some time into a proper Google or even Yahoo search
on how to use Enterprise Library Data Access Block. There's heaps out there.
And "not working properly" is way too vague a problem description to generate any reasonable answers.