摘要: 1.为列表项上传附件Stream fStream = FileUpload1.PostedFile.InputStream;byte[] contents = new byte[fStream.Length]; fStream.Read(contents, 0, (int)fStream.Length);fStream.Close();fStream.Dispose();FileInfo file = new FileInfo(FileUpload1.PostedFile.FileName);SPListItem item = list.GetItemById(itemId);//要给该记录附 阅读全文
posted @ 2012-05-29 16:06 muddy-bear 阅读(173) 评论(0) 推荐(0) 编辑