Re: calling an app_code class
I wouldnt access a fileupload control in a class file, rather I would create a method in class file which will accept a FileStrean, and then call this method using FileUpload.PostedFile.InputStream,...
View ArticleRe: calling an app_code class
Hello,pcrymble However, is it possible to access the file and the control from the class? How do I do that..Not really.pcrymble I'd love to put the code in the app_code folder so I dont have to repeat...
View ArticleRe: calling an app_code class
Hello, bro Sometimes we need to make a class that usually contains our global resources to avoid the duplication in our implementation as you mentioned above. Let us now to show you by simple steps how...
View ArticleRe: calling an app_code class
write a functin on tha same page aspublic void savefile(FileUpload fld){ if fld.hasfile then fld.saveas(varfilename) etc}you can use this function in any other page by creating an object of...
View Articlecalling an app_code class
Hi thereI have a website - on quite a few of the pages there is a file upload box which saves the file and emails a confirmation.Code is something likeif fileupload1.hasfile then...
View Article
More Pages to Explore .....