Re: [DOTNET] why does DataSet have to be static meber

2002-05-30 Thread Karen Healey
OK... that explains it. Thank you everyone, Karen - Original Message - From: "Ian Griffiths" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 30, 2002 03:03 Subject: Re: [DOTNET] why does DataSet have to be static meber > Of course what hadn&

Re: [DOTNET] why does DataSet have to be static meber

2002-05-30 Thread Ben Kloosterman
3:04 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] why does DataSet have to be static meber Of course what hadn't occurred to me was that you might be doing web forms. Being a Windows Forms guy, I tend to think of a Windows Forms form when someone says Form. If it's ASP.NET, the

Re: [DOTNET] why does DataSet have to be static meber

2002-05-29 Thread Ian Griffiths
--- Original Message - > From: "Ian Griffiths" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, May 29, 2002 16:56 > Subject: Re: [DOTNET] why does DataSet have to be static meber > > > > It sounds like it should be OK. If it's a

Re: [DOTNET] why does DataSet have to be static meber

2002-05-29 Thread Marsh, Drew
Shawn Wildermuth [mailto:[EMAIL PROTECTED]] wrote: > As long as you are not waiting for the post-back to do the > work. Every post-back to the form is a new instance (ASP.NET > please correct me if I am wrong!). This is what I have > observed in my testing. This is correct. Member variables ar

Re: [DOTNET] why does DataSet have to be static meber

2002-05-29 Thread Karen Healey
essage - > From: "Karen Healey" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, May 29, 2002 10:49 PM > Subject: Re: [DOTNET] why does DataSet have to be static meber > > > > I'm sure the methods are executing in the correct

Re: [DOTNET] why does DataSet have to be static meber

2002-05-29 Thread Shawn Wildermuth
Griffiths" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, May 29, 2002 16:38 > Subject: Re: [DOTNET] why does DataSet have to be static meber > > > > I have never had any problems using DataSets as non-static > members. I > > suspect th

Re: [DOTNET] why does DataSet have to be static meber

2002-05-29 Thread Ian Griffiths
- > From: "Ian Griffiths" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, May 29, 2002 16:38 > Subject: Re: [DOTNET] why does DataSet have to be static meber > > > > I have never had any problems using DataSets as non-static membe

Re: [DOTNET] why does DataSet have to be static meber

2002-05-29 Thread Karen Healey
isible) then it should be the same instance, right? Thanks, Karen Healey [EMAIL PROTECTED] - Original Message - From: "Ian Griffiths" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 29, 2002 16:38 Subject: Re: [DOTNET] why does DataSet have to be static me

Re: [DOTNET] why does DataSet have to be static meber

2002-05-29 Thread Ian Griffiths
I have never had any problems using DataSets as non-static members. I suspect that something slightly more subtle is going wrong. Are you absolutely sure that (a) the methods are executing in the order you think they are and (b) that they are actually executing on the same instance both times?

[DOTNET] why does DataSet have to be static meber

2002-05-29 Thread Karen Healey
Hi, I've created a class in C# with a DataSet data member declared like this: private DataSet dstMaster; I have a method that builds it by concatenating three datasets together like this: dstMaster = dstOrg.Copy(); dstMaster.Merge( dstContact ); dstMaster.Merge( dstFunding ); In