This is my webservice code
[WebMethod]
public Home getHome(int user) {
Home h = new Home();
Connection cs = new Connection();
var q=cs.da.HomeProcedure(user).ToList();
return h;
}
}
this is my home class
public class Home
{
public int BlogId { get; set; }
public string BlogPic { get; set; }
public string Title { get; set; }
public string Blogpic { get; set; }
public string Date1 { get; set; }
public string Time1 { get; set; }
public string Blogby { get; set; }
public string UserPic{get; set; }
public string TotalLike { get; set; }
public string TotalComment { get; set; }
public string LIKED { get; set; }
}
Output isPlease somebody help me
Gaurav RajPosted Jun 22, 2017, 1:16 AM
Sundaram SubramanianPosted Jun 22, 2017, 12:15 AM
Gaurav RajPosted Jun 22, 2017, 12:01 AM
Ramesh BarikPosted Jun 21, 2017, 6:05 AM
Rajkiran SwainPosted Jun 21, 2017, 3:03 AM