G
Guest
I have a loop to create instances of my user control at run time, for example:
for intPageCounter=0 to intNumberOfPages
dim objUser as new MyUserCtrl
objUser.getProducts()
Panel1.Controls.Add(objUser)
next
The method "getProducts" connect to Acces 2003 DB every time and get DataReader containing required data.
After a while this error message appeared:
System.Data.OleDb.OleDbException: System resource exceeded.
Please advice.
for intPageCounter=0 to intNumberOfPages
dim objUser as new MyUserCtrl
objUser.getProducts()
Panel1.Controls.Add(objUser)
next
The method "getProducts" connect to Acces 2003 DB every time and get DataReader containing required data.
After a while this error message appeared:
System.Data.OleDb.OleDbException: System resource exceeded.
Please advice.