View Single Post
  #2 (permalink)  
Old May 31st, 2004, 04:19 PM
jacob jacob is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: Copenhagen, , Denmark.
Posts: 440
Thanks: 0
Thanked 0 Times in 0 Posts
Default

OK, first of all you only have to post the question one time.

I do not know if you can do what you are trying, however I noticed a missing parenthesis...
Code:
new OleDbConnection(ConfigurationSettings.AppSettings["strConnDB"]);
What are you trying to accomplish by opening the connection here? It looks kind of odd to me, since I have learned that you should open the connection when needed.

Hope it helps :)

Jacob.