S
Sam
Hi,
I have a web form I use to allow users upload files to the web server.
Instead of handling this operation in the code behind of the web form, I
want to create a class that contains document management functions in it.
However, I don't know how to pass the file to this class. I'd appreciate
some pointers on how to do this.
Here's where I am stuck
public static int DumpFileOnWebServer( -- I don't know what goes in here --)
{
// Once I know how to pass the file to this class
// I can go ahead and handle the process in here i.e. where to put the
file, etc.
}
Thanks for your help.
Sam
I have a web form I use to allow users upload files to the web server.
Instead of handling this operation in the code behind of the web form, I
want to create a class that contains document management functions in it.
However, I don't know how to pass the file to this class. I'd appreciate
some pointers on how to do this.
Here's where I am stuck
public static int DumpFileOnWebServer( -- I don't know what goes in here --)
{
// Once I know how to pass the file to this class
// I can go ahead and handle the process in here i.e. where to put the
file, etc.
}
Thanks for your help.
Sam