benq
10-16-2006, 10:04 AM
hi all
just a quick help with this bit of code.
i did this small web service from the book and i commented could someone please have a look at the comment and see if i got the right idea.
<WebMethod()> Public Function helloworld_or_any_name_varaiable(ByVal my_varaiable As String) As String
'create a function by assinging a variable(sub string from the value ) show as string
helloworld_or_any_name_varaiable = "hi world, " & my_varaiable
'function= value of function = variable value assigned = hi world
End Function
End Class
thanks :blush:
just a quick help with this bit of code.
i did this small web service from the book and i commented could someone please have a look at the comment and see if i got the right idea.
<WebMethod()> Public Function helloworld_or_any_name_varaiable(ByVal my_varaiable As String) As String
'create a function by assinging a variable(sub string from the value ) show as string
helloworld_or_any_name_varaiable = "hi world, " & my_varaiable
'function= value of function = variable value assigned = hi world
End Function
End Class
thanks :blush: