I have been searching for 4 days non stop. I am sleep deprived and going crazy. Can someone please help me or at least tell me what I m doing wrong. This is my project Develop a client web page app that uses the web service found at http://www.marksmerry.com/peanutbutter/WebService1.asmx. The service generates a random number m This service receives a guess , an integer between 1-100 inclusive. It returns a string:
- low - if the guess is lower than m
- equal – if the guess is correct
- high - if the guess is higher than m
我已经提到网络服务,但我是在辛塔克斯丢失的,或帮助我! 这是我迄今为止所做的。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using localhost;
using System.Web.Services;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
localhost.WebService1 ws1 = new WebService1();
//What goes in this area. I have been searching and have tried all kinds of combination all have resulted in build errors
}
}