SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working with sharepoint 2010. I have an external list. I need to retrieve the list items from the external list for which i am using the following code below.

SPQuery query=new SPQuery();
DataTable table=list.GetItems(query).GetDataTable();

Question 1: The above process consumes a lot of time and finally shows the message while debigging that "Function evaluation disabled because the previous function evaluation timed out" Can anyone tell me why does this happen?

Question 2: I use the property HasExternalDataSource in order to check whether the list is en external list or not. But this property works in sharepoint foundation 2010 only. Does this property can be used in sharepoint 2010 server also?

Regards, Sharmila

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.