TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Gaurav Raj
NA
475
89.3k
how can i called webservice with jquery my code given below
Sep 15 2017 9:49 AM
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();
}
Reply
Answers (
3
)
How to important B.tech admission to be engineer.
Career Choice: Can I choose Windows Forms based Project