Saturday, March 24, 2012

Working with Files

Hi

How can I create and write files with C#

For instance, I have a file on my C drive. I want to create the same file on D drive.

Is there an example on the web that I can follow to create & write Files.

(in future, I would also need to upload files to my Web server space without using HttpPostedFile)

Any help appreciated

Regards

Hi,

in .NET everything related to IO can be found in the System.IO namespace.Please take a look at the File class for more information. If you scroll a bit down on this page you'll see some samples in theTo do this... section.

Grz, Kris.

0 comments:

Post a Comment