Hilton Giesenow's Jumbled Mind

Thursday, December 09, 2004

Sharepoint Lists - Getting the Field Data via [SPList].Items.GetDataTable

As part of our sharepoint image library project we've added some custom fields to the image lists. I accidently stumbled upon an interesting method today to get the data out, though. the Items collection of a list has a GetDataTable method that gets the entire field collection across each item in the list into - yes, you guessed it - a datatable.

hmmm, this opens some interesting possibilities for binding, etc...


Post a Comment

<< Home