<%@ webservice Language="C#" Class="NewService" %> 
using System;
using System.Web.Services;
public enum ThisBook{
    Pages = 700
}
public class NewService:WebService{
	[WebMethod(EnableSession=true)] public string GetBookWriter(){
		return "桂思强";
	}
	[WebMethod()] public string GetBookName(){
		return "ASP.NET与数据库程序设计";
	}
	[WebMethod()] public int GetBookPage(){
		return Convert.ToInt32(ThisBook.Pages);
	}
}