Skip to content

Instantly share code, notes, and snippets.

@appforest
appforest / pageMethods
Created January 5, 2014 02:44
PageMethods & Webmethods (JS & C#)
// Thanks to Enrico Ariel @ http://www.youtube.com/watch?v=Kp4jxrs6uuI
//The codebehind:
[WebMethod]
public static string GetValues(string value)
{
value = value +" - Sent @ " + DateTime.UtcNow.ToLongTimeString();
return value;
}