These three errors in my web method
[WebMethod]
public List<Home> getHome(){
Connection cs = new Connection();
var q = from a in cs.da.Home2Procedure(1)
select
new Home
{
BlogId = Convert.ToInt32(a.Blog_Id),
BlogPic = a.Blog_Pic,
Blog = a.Blog,
date = a.Date1.ToString(),
time = a.Time1.ToString(),
};
return q.ToList();
}
Ankit SharmaPosted Sep 17, 2017, 7:09 AM