using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SharePoint.Client;
using SP = Microsoft.SharePoint.Client;
namespace MYItemUpdate
{
class Program
{
static void Main(string[] args)
{
getfiles();
}
private static void getfiles()
{
ClientContext clientContext = new ClientContext("http://server- sp:6677/sites/HRDocuments/");
clientContext.Credentials = new System.Net.NetworkCredential("username1", "pass@1234","myDomineName1");
List list = clientContext.Web.Lists. GetByTitle("Shared Documents");
CamlQuery camlQuery = new CamlQuery();
camlQuery.ViewXml = @"<View Scope='Recursive'></View>";
camlQuery. FolderServerRelativeUrl = "/sites/HRDocuments/Shared Documents/Pay Slips";
SP.ListItemCollection listItems = list.GetItems(camlQuery);
clientContext.Load(listItems);
clientContext.ExecuteQuery();
SP.ListItem itemOfInterest = listItems[0];
Console.WriteLine( itemOfInterest["Employee_ x0020_ID"].ToString());
itemOfInterest["Employee_ x0020_ID"] = "66";
itemOfInterest.Update();
clientContext.ExecuteQuery();
listItems = list.GetItems(camlQuery);
clientContext.ExecuteQuery();
}
}
}
ReplyDeleteMany innovative printing techniques have emerged in recent years, revolutionizing the customization industry. One notable example is the rise of Zizo DTF, which offers high-quality direct-to-film printing solutions. This technology allows for vibrant and durable designs on a variety of fabrics, making it a favorite among small business owners and hobbyists alike. As the demand for personalized products increases, companies like Zizo DTF continue to lead the way with their advanced printing options.
2C2D6EA2
ReplyDeleteBeykoz
Bornova
Turgutreis
Arsuz
Güllük
Ergani
Gazipaşa
Lapseki
Ürgüp
C34E4F98
ReplyDeleteBağlar
İskenderun
Çatalca
Karşıyaka
Ömerli
Nazilli
Gazipaşa
Gelibolu
Akşehir