linq .net with dynamically generated controls

Posted by Stuart on Stack Overflow See other posts from Stack Overflow or by Stuart
Published on 2009-03-25T13:54:20Z Indexed on 2011/03/07 0:10 UTC
Read the original article Hit count: 166

Filed under:

This is a very strange problem and i really dont have a clue whats causing it.

What is supposed to happen is that a call to the BLL then DAL returns some data via a linq SPROC call. The retunred IMultipleResults object is processed and all results stored in a hashtable.

The hashtable is stored in session and then the UI layer uses these results to dynamically generate some gridviews.

Easy you would think.

But if i run the code i dont get any gridviews. If i take out the call to the BLL and DAL the gridviews appear but with nothing in them?

Why is it the page renders correctly when i take out the call to get the data?

Thanks.

© Stack Overflow or respective owner

Related posts about linq-to-sql