Click here to Skip to main content
14,332,426 members
Rate this:
Please Sign up or sign in to vote.
See more:

my application lists out all the files in the document libaray of a sharepoint site . i need to open the files (excel,docs..) in edit mode and make changes.i want these changes to update in the sharepoint server. is it possible . please help ...

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

SPListItem.File.OpenBinary() method can be used for this purpose. This method returns the value in byte array. But if you want to open the file for editing purpose then you may have to use third party libraries. We generally use OpenXML for doc files.
Sabari MD 15-Jun-11 0:20am
Hi Rupesh , thank you for ur reply , can u suggest any way to open the documents in edit mode and after editing while saving the file need to update in sharepoint doclib ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100