Export List items to excel
In this blog we will see how to export a list in excel using server side object model. First block we will retrieve all items from the list. This can be done in several ways. You can get all items without filtering any columns. This will consist of all hidden and default columns as well. You can get all items with removing hidden columns You can get specific set of items based on some filter Add two references to your visual studio solution System.Data.dll Microsoft.SharePoin