using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace websiteformyfirstwebservice { 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.Service1 o = new localhost.Service1(); int a = int.Parse(TextBox1.Text.ToString()); int b = int.Parse(TextBox2.Text.ToString()); int x = o.Multiply(a, b); Label1.Text = "The Result is" + x.ToString(); } } }
localhost.WebService1 objLogin = new localhost.WebService1();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)