I am getting all the fields(columns) from a document library in Sharepoint 2010 wherein only 5 columns are visible in sharepoint 2010 UI but while getting it programmatically i am getting 24 columns in a datagridview even after puttin a check that if fields are hidden then do not display them. Is there any way to get those only fields which i am able to view from sharepoint UI using C Sharp??
views:
10answers:
1
A:
I think you need to get the columns from the default view of the list. You can get the columns from the other views too depending upon the columns you require.
NLV
NLV
2010-06-23 08:58:52