Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

File Upload in SharePoint

  Asked By: Jamie    Date: Nov 16    Category: Sharepoint    Views: 1746

I want to implement 'File Upload' functionality in my custom web part.
The files uploaded from local disks will be saved in the database.
Normal file upload for ASP.NET is working fine. In sharepoint, the same
code is not working. I am using an external html file as embedded
resource and read it in the RenderWebPart method. When I typed this
statement "<form id='' name='' enctype='multipart/form-data'>...</form>"
the upload button itself is not working. Can anyone redirect me to the
site where I can find some proper working code. Or if possible, send
some source code and detail instructions regarding it.



2 Answers Found

Answer #1    Answered By: Gopal Jamakhandi     Answered On: Nov 16

I suggest reviewing my Image Upload web  part or my post on Uploading a File to a Document Library.

Answer #2    Answered By: Dameon Dejesus     Answered On: Nov 16

Search for "upload" in the WSS SDK. A good sample is provided there.

Didn't find what you were looking for? Find more on File Upload in SharePoint Or get search suggestion and latest updates.