Hi Bonnie. Many thanks for your reply.
That sorted the problem but I dont understand why !!
OleDbDataAdapter oAd = new OleDbDataAdapter(this.sSelectString ,oCon);
replaced by
this.oAd = new OleDbDataAdapter(this.sSelectString ,oCon);
Why is there a difference then between the two commands ?
Are they both not initialising a New OleDbDataAdapter called oAd ?
Regards,
Gerard
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement