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&
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
--- 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
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
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
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
-
> 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
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
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?
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
10 matches
Mail list logo