Monday, May 21, 2012

An empty DataTable with column names from SharePoint 2010 List

I am developing a project in SharePoint 2010.

My requirement is to get an empty DataTable but with column names in it from SharePoint List.

The .GetDataTable() method returns only if it has a value.

So basically I need a structure of the list in a DataTable.

No comments:

Post a Comment