how to upload files in sharepoint using wss sdk 3.0 + VS 2008+ C#
-
1. With respect to the above subject matter, would appreciate if someone could help me out with this. 2. My OS is Win XP+SP2 . Have searched the net for the same, but i guess this combination does not hold true for either VS2008 OR for Win XP SP2. Thx in advance. Regards, Yogesh
-
1. With respect to the above subject matter, would appreciate if someone could help me out with this. 2. My OS is Win XP+SP2 . Have searched the net for the same, but i guess this combination does not hold true for either VS2008 OR for Win XP SP2. Thx in advance. Regards, Yogesh
Basically, you may use the wss Lists webservice or by using the sdk, you may use something like:
SPList list = site.Lists("LISTNAME");
SPFolder docLib=list.RootFolder;
docLib.Files.Add("FILENAME", FILESTREAM, null, true);Calin