I am working on sharepoint 2010 and I am new to sharepoint. I want to access the list item as directed. So how can I access. Please provide some link or class file to access this.
Thanks in advance.
Use the SPList.GetItemByUniqueId method:
using (SPSite site = new SPSite(url)) { using (SPWeb web = site.OpenWeb()) { SPList list = web.Lists[listTitle]; SPListItem item = list.GetItemByUniqueId(itemGuid); } }
Source: https://habr.com/ru/post/1386298/More articles:How to run the application without being killed after logging out? - javaConcatenating an arbitrary number of values ββin lesscss mixin - csscompletion of user directory adds spaces - bashwriting tests for modules in the lib folder - unit-testingThe structure of my database in development was changed, so I tried to reset the deployed Heroku database. Took it off, but now I canβt migrate my db - ruby-on-railsMSTest operation execution error - workflowMoving from Mercurial to Git and back effortlessly? - gitWhy is Visual Studio constantly modifying .designer files? - version-controlOpen with a dialog box does not remember the newly added program - visual-studio-2010C # Inheriting Best Practices - inheritanceAll Articles