//[webmethod(enablesession = true)]//或[webmethod(true)] [WebMethod] public static string GetUserName() { return "234"; }