Home
> SharePoint, SharePoint 2010, SP2010 > Why can’t I access the column in my SharePoint list programatically?
Why can’t I access the column in my SharePoint list programatically?
The answer might be simple. The first time a column is created and you title it “Column1″ the database records that. If you (or someone else) later changes the column title to “Column2″ your application will break. Why? Because behind the scenes that column is still “Column1″
Categories: SharePoint, SharePoint 2010, SP2010
Tags: C#, SharePoint 2010, Visual Studio 2010
Leave a Reply Cancel reply
Tags
Android
Business Intelligence
C#
Certification
Client Object Model
CodePlex
Development
EPM
Form Services 2010
François Souyri
InfoPath 2010
iOS
iPad
iPhone
JavaScript
JQuery
Microsoft Word
Mobile Application
MOSS 2007
Office 365
Office 2010
PowerShell
Project
Project 2010
Project 2013
Project Conference 2012
Project Management
Project Online
Project Server
Project Server 2007
Project Server 2010
Project Server 2013
PS2010
SharePoint
SharePoint 2010
SharePoint 2013
SharePoint Designer 2010
SharePoint Online
SPF 2010
TechEd Europe 2012
Visual Studio 2010
Web Part
Windows 7
Workflow
WSS 3.0
Top Posts
- Clearing the SharePoint Designer 2007 / 2010 Cache
- Useful JavaScript Function: PreSaveAction #SP2010 #SharePoint #PS2010 #ProjectServer #in
- #ProjectServer 2013 White Paper
- Excel formulas not auto calculating but F9 still works #in
- Updating User Profile Properties via PowerShell (PictureURL)–SharePoint 2010 #in #SP2010
- Security Validation Issue - Form Services issue with SP1+June 2011 CU (Release 2) #in #SP2010 #SharePoint #MSProject #ProjectServer
- Programmatically setting a field to hidden within a Content Type #SharePoint #SP2010 #in
- Managing path context in SharePoint
- Using jQuery to find the current logged in user #in #SP2010
- Visual Studio 2012 templates for SharePoint 2013
Blogroll
Archives
Blog Stats
- 229,002 hits

SP consider “internal name” and “name” of a column in a different way.
The internal name cannot be changed by the user interface, while the name can.
You should always use the “GetFieldByInternalName” method.
Cheers