Click here to Skip to main content
15,891,644 members
Articles / Web Development / ASP.NET

Calling a C# method using jQuery on the client side

Rate me:
Please Sign up or sign in to vote.
1.47/5 (14 votes)
2 Oct 2011CPOL 29.8K   6  
Create a web service name WebMethod.SVC in the CS file and add the method: [OperationContract] [WebInvoke(Method = "POST")] public void DeleteRec(string ID) { DelUser(Convert.ToInt32(ID)); }On client side, give the path and call the...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Program Manager Infobeans
India India
I have keen interest in learning new things, exploring more on a topic and being more versatile

Comments and Discussions