1
Answer

Class are not read in webservice Please Help me guys

Gaurav Raj

Gaurav Raj

7y
164
1
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();
}
Answers (1)