Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
how can i called webservice with jquery my code given below
Gaurav Raj
Sep 15 2017 9:49 AM
180
Reply
this is my code but i dont know how can i call them with jquery ,web service run correctly so please help me guys i really need a help
public class RegClass
{
public int regID { get; set; }
public string Name { get; set; }
public string gender { get; set; }
public string country{ get; set; }
}
[WebMethod]
public List<RegClass> getRegister() {
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();
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
How to important B.tech admission to be engineer.
Career Choice: Can I choose Windows Forms based Project