Accessing SharePoint List Item Fields

From: Ed (ed_at_ejaN0_SP4Mconsulting.com)
Date: 05/13/04


Date: Thu, 13 May 2004 11:39:41 -0700

If I remember correctly you need Item["Title"] . . . the
docco on this is very poor.

>-----Original Message-----
>I'm writing a custom Web Application for SharePoint
Services.
>I need to get the values of fields from the list items
in a list.
>According to the SDK, I should be able to get the value
of the field using the syntax Item.Fields
["Title"].ToString()
>However, this is returning me the name of the field
(i.e. Title) not the value of the field.
>How do I get the value of the fields?
>
>Regards,
>John P. Grieb
>Reuters
>.
>



Relevant Pages

  • Re: RootFolder URL param problems - custom doc lib part
    ... After comparing the url created by Sharepoint and the one created by my ... custom web part, I think I've solved this problem. ... Instead of writing ... Where parentList is the SPList object that contains the the folder. ...
    (microsoft.public.sharepoint.portalserver)
  • Accessing SharePoint List Item Fields
    ... I'm writing a custom Web Application for SharePoint Services. ... I need to get the values of fields from the list items in a list. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Accessing SharePoint List Item Fields
    ... >>I'm writing a custom Web Application for SharePoint ... >>I need to get the values of fields from the list items ... >>John P. Grieb ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: How to security trim SPList.GetItems()?
    ... The SP Programming newsgroup at microsoft.public.sharepoint.development_and_programming is a more suitable place to post this as it includes problems when writing own web parts. ... I have a WebPart that pulls data from a list. ... Is there a way to get only the list items ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Alter search results?
    ... You'd have to re-create that page altogether and re-write the search functionality. ... SharePoint University SharePoint Bootcamp SharePoint Blogs SharePoint Experts ... returns list items (i.e., ... adding a new page (with Frontpage and outside of Frontpage) that is ...
    (microsoft.public.sharepoint.windowsservices)