Some of the improvements in the Windows 2008 operating system are:
RPC Asynchronous Pipe vs. Multiple RPC Calls in Windows Server 2003 R2
Asynchronous I/Os vs. Synchronous I/Os in Windows Server 2003 R2
Unbuffered I/Os vs. Buffered I/Os in Windows Server 2003 R2
Low Priority I/Os vs. Normal Priority I/Os in Windows Serve 2003 R2
16 Concurrent File Downloads vs. [...]
If you need to upload files to a SharePoint document library programmatically the following code accomplishes that need.
SPSite site = new SPSite(URL);
SPWeb web = site.OpenWeb();
web.AllowUnsafeUpdates=true;
string path =””;
string []fileName =filePath.PostedFile.FileName.Split(’\\’);
int length = fileName.Length;
string file=fileName[length-1];
SPFolder folder = web.GetFolder(LibraryName);
SPFileCollection files=folder.Files;
Stream fStream = filePath.PostedFile.InputStream;
byte[] MyData= new byte[fStream.Length];
fStream.Read(MyData, 0, (int)fStream.Length);
fStream.Close();
SPFile fff= files.Add(file,MyData);
web.AllowUnsafeUpdates=false;
Continue reading about Code For Uploading File to Document Library
The picture below is me surfing in Melbourne Florida about 2 months ago.
I’ve working on infopath recently. I had to insert a value via code to a sharepoint list and here in how I did it.
XPathNavigator xnDoc = this.MainDataSource.CreateNavigator();
//Create a Navigator object for the field that you want to set.
XPathNavigator TitleDescription = xnDoc.SelectSingleNode(”/my:Baseline_Change_Request/my:TitleDescription”, this.NamespaceManager);
XPathNavigator XMLFileName = xnDoc.SelectSingleNode(”/my:Baseline_Change_Request/my:CR_File_Name”, this.NamespaceManager);
//Remove the “nil” attribute.
[...]
Continue reading about InfoPath Insert value to Sharepoint List