Public Class WebService Inherits System.Web.Services.WebService Private cUrl As String = "http://www.levelextreme.com" Private cUser As String = "" <WebMethod()> _ Public Function MyMethod() As String Private cUrl As String = "http://www.anotherurl.com" Return Me.cUrl & cUrl End Function End Class(it is best practice to use & instead of + to concatenate strings).
Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000) br>
VB (.NET) - what other language do you need in the whole Universe?...