tags:

views:

25

answers:

1

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.

A: 

You might be getting an empty result set, you can configure the grid view to display something when no results are found.

I suggest you do some debugging and verify whether the code is actually getting the results and if it is being added the same way as int the other scenario.

eglasius