posting data to a webpage

  • Thread starter Thread starter KC
  • Start date Start date
K

KC

I know how to post a single name/value pair to a webpage. What I'm not sure
of is how to post multiple name/value pairs to a page. Say you have a web
form with 2-3 listboxes. The result of each listbox represents a name/value
pair. How do I post that from my application to the page?
 
I know how to post a single name/value pair to a webpage. What I'm not sure
of is how to post multiple name/value pairs to a page. Say you have a web
form with 2-3 listboxes. The result of each listbox represents a name/value
pair. How do I post that from my application to the page?

ListBox1=Sel1&ListBox2=Sel2&ListBox3=Sel3[&...]

Just like building a query string.
 
Figured it was something simple. Thanks.

Ken

Jeff Johnson said:
I know how to post a single name/value pair to a webpage. What I'm not sure
of is how to post multiple name/value pairs to a page. Say you have a web
form with 2-3 listboxes. The result of each listbox represents a name/value
pair. How do I post that from my application to the page?

ListBox1=Sel1&ListBox2=Sel2&ListBox3=Sel3[&...]

Just like building a query string.
 
What if the listbox allows multiple selections? How would I post several
selected elements from one option-select block?

Ken


Jeff Johnson said:
I know how to post a single name/value pair to a webpage. What I'm not sure
of is how to post multiple name/value pairs to a page. Say you have a web
form with 2-3 listboxes. The result of each listbox represents a name/value
pair. How do I post that from my application to the page?

ListBox1=Sel1&ListBox2=Sel2&ListBox3=Sel3[&...]

Just like building a query string.
 
Back
Top