How to post data and attach file using webbrowser.navigate

N

Nadeem

Hello All,

I am trying to write one component in C# ( .NET 3.5 ) which will allow
the user to gather some error information and post the error text and
a file ( log file ) to a asp.net page. I am using webbrowser.Navigate
method.
Once the information is posted and the page is loaded what ever info I
post should be shown in the text boxes in the aspx form the file
should also be attached.

I am able to post data to the form but I do not know how to attach a
file in post using webbrowser.navigate().

there are alot of examples out there but they use webclient or
httprequest\httpresponse.

I will appreciate any help in this regard.

Nadeem
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top