Click here to Skip to main content
15,995,251 members
Home / Discussions / C#
   

C#

 
GeneralResources- I'm lost! Pin
peterchen11-Dec-02 12:29
peterchen11-Dec-02 12:29 
GeneralRe: Resources- I'm lost! Pin
Nick Parker11-Dec-02 16:54
protectorNick Parker11-Dec-02 16:54 
GeneralC# ActiveX Pin
11-Dec-02 10:47
suss11-Dec-02 10:47 
GeneralRe: C# ActiveX Pin
Adrian Hall17-Dec-02 15:09
Adrian Hall17-Dec-02 15:09 
GeneralSDLDMO and a Detached Pin
Paul Watson11-Dec-02 9:36
sitebuilderPaul Watson11-Dec-02 9:36 
GeneralRe: SDLDMO and a Detached Pin
Nick Parker11-Dec-02 9:55
protectorNick Parker11-Dec-02 9:55 
GeneralRe: SDLDMO and a Detached Pin
Paul Watson11-Dec-02 10:08
sitebuilderPaul Watson11-Dec-02 10:08 
GeneralRe: SDLDMO and a Detached Pin
Nick Parker11-Dec-02 16:20
protectorNick Parker11-Dec-02 16:20 
Paul Watson wrote:
The code that returns the Columns array is in a SQLDMO helper class I made. I could leave the connection open but then I would have to make sure the caller remembers to close the connection, not very elegant or helpful at all.

True, so why don't you just close the connection once you have receive the data in a dataset, since you said your not sure when the caller will work with the returning dataset and you have already written a helper class why not just do the clean up inside the function and close the connection.

***
If nothing I wrote above made any sense, don't blame yourself. I have had my head stuck in writing a binary tree for the last two hours, yuck. Dead | X|





Nick Parker

Not everything that can be counted counts, and not everything that counts can be counted. - Albert Einstein


GeneralRe: SDLDMO and a Detached Pin
Paul Watson11-Dec-02 20:17
sitebuilderPaul Watson11-Dec-02 20:17 
GeneralRe: SDLDMO and a Detached Pin
Stephane Rodriguez.11-Dec-02 9:56
Stephane Rodriguez.11-Dec-02 9:56 
GeneralRe: SDLDMO and a Detached Pin
Paul Watson11-Dec-02 10:04
sitebuilderPaul Watson11-Dec-02 10:04 
GeneralRe: SDLDMO and a Detached Pin
Stephane Rodriguez.11-Dec-02 10:27
Stephane Rodriguez.11-Dec-02 10:27 
GeneralRe: SDLDMO and a Detached Pin
Paul Watson11-Dec-02 20:13
sitebuilderPaul Watson11-Dec-02 20:13 
GeneralRe: SDLDMO and a Detached Pin
Richard Deeming12-Dec-02 0:58
mveRichard Deeming12-Dec-02 0:58 
GeneralRe: SDLDMO and a Detached Pin
Paul Watson12-Dec-02 1:13
sitebuilderPaul Watson12-Dec-02 1:13 
GeneralRe: SDLDMO and a Detached Pin
Richard Deeming12-Dec-02 7:24
mveRichard Deeming12-Dec-02 7:24 
QuestionHow to replace standard .NET runtime error box Pin
Vasek11-Dec-02 6:56
Vasek11-Dec-02 6:56 
AnswerRe: How to replace standard .NET runtime error box Pin
LongRange.Shooter11-Dec-02 9:07
LongRange.Shooter11-Dec-02 9:07 
GeneralRe: How to replace standard .NET runtime error box Pin
Vasek11-Dec-02 21:41
Vasek11-Dec-02 21:41 
GeneralRe: How to replace standard .NET runtime error box Pin
grv57513-Dec-02 2:42
grv57513-Dec-02 2:42 
GeneralNotifyIcon / Remove from Taskbar Pin
Adrian Hall11-Dec-02 5:44
Adrian Hall11-Dec-02 5:44 
GeneralRe: NotifyIcon / Remove from Taskbar Pin
Alexander Kojevnikov11-Dec-02 7:11
Alexander Kojevnikov11-Dec-02 7:11 
General.NET and COM Interoperability Pin
Amir Harel11-Dec-02 4:48
Amir Harel11-Dec-02 4:48 
GeneralRe: .NET and COM Interoperability Pin
Stephane Rodriguez.11-Dec-02 19:07
Stephane Rodriguez.11-Dec-02 19:07 
GeneralProcess.EnableRaisingEvents Problem Pin
yccheok10-Dec-02 16:46
yccheok10-Dec-02 16:46 

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.