Click here to Skip to main content
16,012,316 members

Comments by Member 12060581 (Top 3 by date)

Member 12060581 10-Dec-15 7:04am View    
Thanx for your reply
Member 12060581 9-Dec-15 23:15pm View    
This is the example of Code Project.
Static ?????

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;

[WebService(Namespace= "http://tempuri.org/")]
[WebServiceBinding(ConformsTo= WsiProfiles.BasicProfile1_1)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
//
[System.Web.Script.Services.ScriptService]
public class Service : System.Web.Services.WebService
{
public Service ()
{

//Uncomment the following line if using designed components
//InitializeComponent();
}

[WebMethod]
public int Area(int l, int b)
{
return l * b;
}

[WebMethod]
public int Perimeter(int l, int b)
{
return 2 * (l +b);
}
}
Member 12060581 30-Oct-15 3:07am View    
Reason for my vote of 4 \n Nice Article