hi guys i ma working some existing project where some feature is used but i am not getting
[WebMethod]
public static string InsertData(string username, string subj, string desc)
{
string msg = string.Empty;
try
{
}please can some one explain me
1 .why given web method on the head off "insert data" method name
2. what is use of this ,what is web method
3.is it only for static method

Francis SusaimichaelRank #466 · 5.4K reputationPosted Jun 21, 2016, 11:22 PM EDT
why given web method on the head off "insert data" method name.what is use of this ,what is web method
https://msdn.microsoft.com/en-us/library/byxd99hx(v=vs.90).aspx
Rajeesh MenothRank #118 · 18.4K reputationPosted Jun 22, 2016, 1:03 AM EDT
Vinay SinghRank #604 · 4K reputationPosted Jun 22, 2016, 1:19 AM EDT
Munesh SharmaRank #174 · 13.9K reputationPosted Jun 22, 2016, 1:24 AM EDT