POSTing to ASP.NET through C#

  • Thread starter Thread starter Ludwig Wittgenstein
  • Start date Start date
L

Ludwig Wittgenstein

Hello, all.

What is the best way to post a form on a aspx page programmatically
through C#? I'm trying to automate getting car values from Kelley Blue
Book (http://www.kbb.com/kbb/UsedCars/default.aspx) through a command
line application where I can just run the app with some command line
arguments that specify car attributes. I was wondering if there is a
way to set all the input fields via C# and grab the HTML code back. I
checked to see if I can just parse the URL arguments (&arg=...etc),
however it looks like that they have some hidden values that are not
visible in the URL; can you handle those via a C# class?

Thanks,
 
Back
Top