Click here to Skip to main content
15,905,875 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionPermanent Connection ? Pin
thesum16-Oct-08 22:53
thesum16-Oct-08 22:53 
AnswerRe: Permanent Connection ? Pin
Ashfield17-Oct-08 1:16
Ashfield17-Oct-08 1:16 
AnswerRe: Permanent Connection ? Pin
jzonthemtn17-Oct-08 1:18
jzonthemtn17-Oct-08 1:18 
AnswerRe: Permanent Connection ? Pin
Dave Kreskowiak17-Oct-08 2:02
mveDave Kreskowiak17-Oct-08 2:02 
GeneralRe: Permanent Connection ? Pin
Mycroft Holmes17-Oct-08 23:21
professionalMycroft Holmes17-Oct-08 23:21 
GeneralRe: Permanent Connection ? Pin
Guffa18-Oct-08 1:29
Guffa18-Oct-08 1:29 
GeneralRe: Permanent Connection ? Pin
Mycroft Holmes18-Oct-08 3:01
professionalMycroft Holmes18-Oct-08 3:01 
GeneralRe: Permanent Connection ? Pin
Guffa18-Oct-08 6:53
Guffa18-Oct-08 6:53 
Mycroft Holmes wrote:
Sure but a datareader locks the connection while the reader is active ie if you process on the reader say to fill a combo box then the connection is locked during the processing.


Of course you should read the data from the DataReader into some data structure, and then work on the data once you closed the connection. The data structure doesn't have to be a bloated DataTable object, though.

Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: Permanent Connection ? Pin
Mycroft Holmes18-Oct-08 12:56
professionalMycroft Holmes18-Oct-08 12:56 
GeneralRe: Permanent Connection ? Pin
Dave Kreskowiak18-Oct-08 3:28
mveDave Kreskowiak18-Oct-08 3:28 
GeneralRe: Permanent Connection ? Pin
Mycroft Holmes18-Oct-08 3:35
professionalMycroft Holmes18-Oct-08 3:35 
GeneralProblem with Excel Formula... Need some help Pin
Golden Jing16-Oct-08 22:48
Golden Jing16-Oct-08 22:48 
GeneralRe: Problem with Excel Formula... Need some help Pin
Dave Kreskowiak17-Oct-08 6:15
mveDave Kreskowiak17-Oct-08 6:15 
GeneralRe: Problem with Excel Formula... Need some help Pin
Golden Jing19-Oct-08 16:02
Golden Jing19-Oct-08 16:02 
GeneralRe: Problem with Excel Formula... Need some help Pin
Dave Kreskowiak19-Oct-08 18:09
mveDave Kreskowiak19-Oct-08 18:09 
GeneralRe: Problem with Excel Formula... Need some help Pin
Golden Jing19-Oct-08 18:26
Golden Jing19-Oct-08 18:26 
QuestionRuntime instance creation Pin
SelvaShankar16-Oct-08 19:59
SelvaShankar16-Oct-08 19:59 
AnswerRe: Runtime instance creation Pin
Steven J Jowett16-Oct-08 22:44
Steven J Jowett16-Oct-08 22:44 
AnswerRe: Runtime instance creation Pin
Mycroft Holmes17-Oct-08 23:24
professionalMycroft Holmes17-Oct-08 23:24 
GeneralRe: Runtime instance creation Pin
SelvaShankar20-Oct-08 19:06
SelvaShankar20-Oct-08 19:06 
AnswerRe: Runtime instance creation Pin
SelvaShankar31-Oct-08 2:06
SelvaShankar31-Oct-08 2:06 
QuestionPopulate TreeView on demand in VB Pin
Sonhospa16-Oct-08 9:46
Sonhospa16-Oct-08 9:46 
AnswerRe: Populate TreeView on demand in VB Pin
Dave Kreskowiak16-Oct-08 10:05
mveDave Kreskowiak16-Oct-08 10:05 
NewsRe: Populate TreeView on demand in VB Pin
Sonhospa16-Oct-08 11:24
Sonhospa16-Oct-08 11:24 
GeneralRe: Populate TreeView on demand in VB Pin
Dave Kreskowiak16-Oct-08 12:07
mveDave Kreskowiak16-Oct-08 12:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.