Simple example retrieved web serviced asp.net using jquery
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Zakir AhamedRank #1,544 · 1K reputationPosted Sep 13, 2017, 11:41 PM EDT
Midhun TpRank #388 · 6.5K reputationPosted Sep 14, 2017, 12:45 AM EDT
Gaurav RajRank #2,919 · 493 reputationPosted Sep 15, 2017, 5:38 AM EDT
{
public int regID { get; set; }
public string Name { get; set; }
public string gender { get; set; }
public string country{ get; set; }
}
public List
Connection cs = new Connection();
var q = from a in cs.da.RegisterTables
select
new RegClass
{
regID=a.Id,
Name=a.F_Name+" "+a.L_Name,
gender=a.Gender,
country=a.Counttry,
};
return q.ToList();
}