views:

36

answers:

1

How do I post a single file to an asp.net webform from c# windows forms?

+1  A: 

You can do this using System.Net.WebClient.

See the sample on this MSDN page: WebClient.UploadData method (System.Net)

Schemer
@schemer: thanks for the link, but in the future, please don't post .NET 1.1 links unless the question is specific to .NET 1.1.
John Saunders