Geeks With Blogs
Annie Bougie January 2009 Entries
SharePoint Adventures - Reading an Excel Spreadsheet From A Stream
When I needed to read an Excel spreadsheet from a SharePoint site, it seemed like a simple enough request. Previously, whenever I needed to open an Excel file, I used an OleDb connection with the following connection string: string connectionString = @"Provider=Microsoft.ACE.OL... Data Source={0};Persist Security Info=False; Extended Properties=""Excel 12.0;HDR=YES"""; connectionString = string.Format(connectionStr... filePath); Of course, you can't open the file from the SharePoint site this ......

Posted On Thursday, January 29, 2009 10:40 AM

Part 1: Copy a SharePoint List Programmatically
I've been working with the SharePoint API lately. One of my tasks is to copy SharePoint lists from one site to another site. This can be done in code as long as the two sites are on the same machine. It's OK if they are in different web applications, but it can't be from one server to another. If you need to copy from one server to another, you either need to do an export/import, or find a way to save the settings and import them on the new machine. I believe you can use the SharePoint Web Services ......

Posted On Friday, January 23, 2009 6:18 AM

Copyright © Annie Bougie | Powered by: