In my previous post i’m explained about the members of Copy Web Service. For uploading a document from any local machine to sharepoint document library is possible by using CopyInToItems method. Though, the syntax for that method is, public uint… Continue Reading →
To attach the file from Local Machine to SharePoint ListItem as an attachment, Import the System.IO namespace to use the Stream Class to read the file contents. Use System.Web.UI.WebControls.FileUpload control is named as fileUpload in code. Sample code for uploading the… Continue Reading →