title: The name service does not exist in current context and WebReferrence error
body: <p>Hi i am trying to use this code to pull from a webservice and I am reciving these errors and i do not know why.  I have tried everything...</p>
  
  <p>Errors:</p>
  
  <pre><code>The name 'service' does not exist in the current context
  </code></pre>
  
  <p>and</p>
  
  <pre><code>WebReference.CheckPartStatus.Parts' cannot be used like a method.
  </code></pre>
  
  <p>My code:</p>
  
  <pre><code>    string CustomerID = "5943197";
      // 1off
  
  
      WebReference.WebServiceTyped ws = new WebReference.WebServiceTyped();
      WebReference.CheckPartStatus PQ = new WebReference.CheckPartStatus();
      string Parts = "";
      string PartNumber = Parts;
      string PriceSum = null;
      long QtySum = 0;
  
      PartNumber = "RS5117";
      if (PartNumber == "RS5117")
      {
          PQ = ws.CheckPartNumberStatus(PartNumber, CustomerID, "1,6,8,9,112", "", "", "");
          PriceSum = String.Format(PQ.Parts(0).Cost, "####.00");
  
          Label1.Text = PriceSum;
      }
  </code></pre>