Hi,
I am trying to write a very simple demo web service from MSDN names Temperature Web Service ... but I recieve a compilation error saying:
Compiler Error Message: CS0246: The type or namespace name 'localhost' could not be found (are you missing a using directive or an assembly reference?)
I have localhost added as a web reference already in my visual studio project ...Below is code that I am using to call the web service... What am I missing?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
&nb ...
Go to the complete details ...