I have a custom webpart in which I wants to download the files from a document library.
This is the code:
SPFile file = objWeb.GetFile(FileUrl);
byte fileData= file.OpenBinary();
I do not khow from where the contents are added to the file (May be Automatically added by Sharepoint).
Can any one helps me to remove the additional contets and get the original file.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?