.NET Data Types for SPList Columns
No Comments Yet so far
Leave a comment
May 23, 2007, 4:25 pm
Filed under: MOSS
Filed under: MOSS
This post is meant to just be a personal reference. Every so often I forget what .NET data type SharePoint stores in list columns so this is just meant to be a reference.
| Column Type | .NET Type |
|---|---|
| Single Line of Text | System.String |
| Multiple Lines of Text | System.String |
| Choice | System.String |
| Number | System.Double |
| Currency | System.Double |
| Date and Time | System.DateTime |
| Lookup | System.String |
| Yes/No | System.Boolean |
| Person or Group | System.String |
| Person or Group (multiple choices) | Microsoft.SharePoint.SPFieldUserValueCollection |
| Hyperlink or Picture | System.String |
| Calculated | Another column type is selected upon column creation |
Leave a Comment
No Comments Yet so far
Leave a comment
Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>