I am creating a web service in asp.net 2.0 with c# and have a web method which looks like this:
[WebMethod()]
public List<Comment> GetYourSayComments(int pageNumber, int pageSize, int commentTopicId)
{
CommentManager cm = new CommentManager();
return cm.GetYourSayComments(pageNumber, pageSize, commentTopicId, true);
}
This was working greate for the services that just returned all entities, this method however returns paged results. what is the best way to return the total row count to the client?