tag:blogger.com,1999:blog-6241523649263677429.post7457796639682718965..comments2023-04-09T04:51:01.351-04:00Comments on Disha Shah's Blog: Create file upload webpart which creates folders and add files indocument library in SharepointDisha shahhttp://www.blogger.com/profile/02518044206110358922noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-6241523649263677429.post-15321685215336545972011-07-25T04:05:55.765-04:002011-07-25T04:05:55.765-04:00@Usman:
Replace the line below in the code..
Stre...@Usman:<br />Replace the line below in the code..<br /><br />Stream.Read(MyData, 0, (int)fStream.Length);<br /><br />with following..<br /><br />Stream stream = new MemoryStream();<br /> stream.Read(MyData, 0, (int)fStream.Length);Altafhttps://www.blogger.com/profile/14433504836863170878noreply@blogger.comtag:blogger.com,1999:blog-6241523649263677429.post-84909776144861057012011-07-24T03:21:37.702-04:002011-07-24T03:21:37.702-04:00This comment has been removed by the author.Altafhttps://www.blogger.com/profile/14433504836863170878noreply@blogger.comtag:blogger.com,1999:blog-6241523649263677429.post-32375770851494078862011-07-24T03:00:04.045-04:002011-07-24T03:00:04.045-04:00This comment has been removed by the author.Altafhttps://www.blogger.com/profile/14433504836863170878noreply@blogger.comtag:blogger.com,1999:blog-6241523649263677429.post-2573523696586166232011-07-23T09:58:17.200-04:002011-07-23T09:58:17.200-04:00@JoshGarfield:
use Visual Studio to auto-add refe...@JoshGarfield:<br /><br />use Visual Studio to auto-add references.<br /><br />nice article Disha...thanks.Altafhttps://www.blogger.com/profile/14433504836863170878noreply@blogger.comtag:blogger.com,1999:blog-6241523649263677429.post-28307861076352700912011-06-28T07:40:53.609-04:002011-06-28T07:40:53.609-04:00Nice article..Basic example..With simple and short...Nice article..Basic example..With simple and short piece of code..Helped me..Thanks!!Adithya Hegdehttps://www.blogger.com/profile/16504565982577138938noreply@blogger.comtag:blogger.com,1999:blog-6241523649263677429.post-55473383955768810672011-05-10T03:25:04.984-04:002011-05-10T03:25:04.984-04:00Well explained but not detailed at all.
Took me a ...Well explained but not detailed at all.<br />Took me a lot of time to get that thing to work.<br />You should have better mentioned which references one must include and what exactly to do. Not only show "some" snippetes.Rawcoderhttps://www.blogger.com/profile/00994581704741162299noreply@blogger.comtag:blogger.com,1999:blog-6241523649263677429.post-68035872829705190742010-12-08T19:51:52.652-05:002010-12-08T19:51:52.652-05:00Usman
Only error description cannot give the enti...Usman<br /><br />Only error description cannot give the entire picture of your error. Can you post some lines of code?<br /><br />From error description, I can only say that you need to create an instance of the class before calling the method. <br /><br />This kind of the error is caused by the fact that when you put them as class variables, they will need an instance of the class to be accessed. <br /><br />The Main method is static and doesn't belong to any particular instance and will therefore not be able to use non-static methods or variables.<br /> <br />Hope this helps<br />Disha ShahDisha shahhttps://www.blogger.com/profile/02518044206110358922noreply@blogger.comtag:blogger.com,1999:blog-6241523649263677429.post-49396964441930614872010-12-07T23:39:17.979-05:002010-12-07T23:39:17.979-05:00Error 1 An object reference is required for the no...Error 1 An object reference is required for the nonstatic field, method, or property 'System.IO.Stream.Read(byte[], int, int)' C:\Documents and Settings\UALI\My Documents\Visual Studio 2005\Projects\FileUp\FileUp\FileUploadControl\FileUploadControl.cs 99 9 FileUpALIhttps://www.blogger.com/profile/15863402510702114223noreply@blogger.com