Hi guys,
I've got a little problem.A part of the project I'm working on reads data from an excel file and stores it in the database.
It works fine for 15-20 records but fails after that. I have properly closed the connection and the reader I'm using. But ut doesn't work. What would be the problem?

How do we understand, where from does your exception come and why?
Please post your codes and exception

I've got a solution for it. I used a keyword Using and it worked fine

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.