Hi Rajat Bhatnagar,
In the DBConnect class you already have a field for Connection connection.
Then in the DBConnection method why again you are creating a connection variable.
Just use the above.
Code to be modified:
[Added code tags - Dave]
[ July 24, 2008: Message edited by: David O'Meara ]