0

I am trying to fill a listview like this

ListView.DataSource = DataContext.Session.Query<Companies>();

With the above I get the list filled, but when i want try to page it like this

ListView.DataSource = DataContext.Session.Query<Companies>().Page(...);

I get the error

A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)

Source: Session.Flush();

4

0 回答 0