Click here to Skip to main content
16,010,394 members
Home / Discussions / C#
   

C#

 
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 
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 
.S.Rod. wrote:
Yes, that's simple. You can't read a query result on a disconnected database.

That's why ADO.NET introduces datasets. Fill the dataset, then you can disconnect from sqlserver if you like.


Maybe I really have the wrong end of the stick but...

The connection and all other database bits are using SQLDMO and AFAIK it does not go through ADO.NET in anyway, right?


Also you are right in that even with SQLDMO once cannot return any query on a disconnected database. What I did there was before the return I created a new Columns var, passed the Columns array from the still connected connection, then disconnected and returned the new Columns var.

At first actually I thought that would get around the whole problem, but I think it was still a reference and not a value and so the error persisted.

Paul Watson
Bluegrass
Cape Town, South Africa

NOPcode wrote:
...but in America, you're not allowed to thrust, moan or see anything...
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 
GeneralRe: Process.EnableRaisingEvents Problem Pin
Kannan Kalyanaraman10-Dec-02 22:31
Kannan Kalyanaraman10-Dec-02 22:31 
GeneralRe: Process.EnableRaisingEvents Problem Pin
yccheok11-Dec-02 15:48
yccheok11-Dec-02 15:48 
GeneralRe: Process.EnableRaisingEvents Problem Pin
Richard Deeming11-Dec-02 4:43
mveRichard Deeming11-Dec-02 4:43 

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.