Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 24th, 2003, 11:54 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 440
Thanks: 0
Thanked 0 Times in 0 Posts
Default Several OleDbDataReader's at the same time

Isn't it possible to have more than one OleDbDataReader connected to the same database at once!?

I have made a database representation of a menu, where I use recursion to construct the javascript needed to create the menu. However it seems like the lock file remains after execution. I have checked several times, that I close the proper connections, so I have reason to believe that it is caused by nested OleDbDataReader's connected to the same database. I use Access 2000 for this menu DB.

Does anybody have some experiences with this!? The site works, however the performance is reduced a lot when the file remains.

Thanks

Jacob.

__________________
Danish audio books for download at http://www.lytenbog.dk (Danske lydbøger til download).
 
Old August 24th, 2003, 04:58 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 440
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have solved the problem!

I am still interested in comments on the topic. I wasn't able to use different instances of the OleDbDataReader class at the same time on the same database. Some conflict would occur, not removing a lock file.

I solved the problem using an OleDbDataAdapter and DataSet to disconnect the data from the database, and then continuing using this object, however I have heard that this is the heavyweight object, so I do not hope that performance is reduced a lot.

Thanks anyway.

Jacob





Similar Threads
Thread Thread Starter Forum Replies Last Post
synchronizing pocket pc time with desktop time bobbyrayudu83 C# 1 April 2nd, 2011 04:28 AM
Time Shift time in minus time out lechalas Beginning VB 6 1 August 11th, 2008 01:56 PM
time zone & day light time rajn ASP.NET 1.0 and 1.1 Professional 0 August 7th, 2007 05:02 PM
How to display the time(running time) in Excel swaroop Excel VBA 1 March 29th, 2007 01:56 AM
Using xs:time to generate time in desired format krayan001 XSLT 0 June 27th, 2005 04:28 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.