Hi @Sagar Pithadiya ,
Ensure that all disposable objects like OleDbConnection, DataTable, and DataSet are properly disposed of. While you've disposed of the DataTable
object (dt
), remember to also dispose of the DataSet
(oDS
) after its use.
Best Regards.
Jiachen Li
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.