Results 1 to 2 of 2

Thread: [2.0] VAlue Changes

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2001
    Location
    India
    Posts
    134

    Question [2.0] VAlue Changes

    Hi All

    I've encountered a strange problem while excuting a DOTNET program. It is like this.

    In the .cs file that is executing I'e got the following code

    Code:
    String Results = String.Empty;
    
    Results = _var.getID(_mainID);

    Now when this statements are being executed, the Results variable should have a value of "" or String.Empty, even after the second statement has been execute.

    This is executing fine in one my developer systems, let us call this system as DEV1. Now I've copied the same code into another system, let us call this as DEV2, running VS 2005 (the previous system viz., DEV1 has also got VS 2005 and it is installed using the same CD in both the systems).

    However, when I run the same code in the DEV2 system, the Results variable has got a value null.

    I'm not sure what is causing this change in the data.

    I've verified the version, build numbers of both the installation and confirmed that it is the same. But still this change remains as is.

    Can anybody out there suggest me on why this is happening?
    Last edited by pavan; Jul 15th, 2008 at 10:01 AM.
    Pavan Kumar

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2.0] VAlue Changes

    Step into your code, look at what the GetID() method is doing.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width