Can someone please help me close this db connection. I know the
connection is not closed because there;s a ldb file in my db folder.
dbCommand.Conne ction.Open();
IDataReader myReader = dbCommand.Execu teReader();
while (myReader.Read( ))
{
return myReader.GetStr ing(1);
}
myReader.Close( );
dbCommand.Conne ction.Close();
Thanaks
connection is not closed because there;s a ldb file in my db folder.
dbCommand.Conne ction.Open();
IDataReader myReader = dbCommand.Execu teReader();
while (myReader.Read( ))
{
return myReader.GetStr ing(1);
}
myReader.Close( );
dbCommand.Conne ction.Close();
Thanaks
Comment