Im trying to send a List of Items with generic Keys and Value Types to a asp.net webservice.
How can i do this?
I tried it with List<Dictionary<String, String>>
, but this doens't work. I do not get an exception, but when i break in the webserivice, my collection is null.
The Data could look like this:
{"Data":{"fieldtype":"integer","isrequired":true,"isrequirederror":"Invalid Data"}}.
But as i said, the Keys are generic, sometimes there are more properties, sometimes not.
Thx alot
This post couldn't help my btw: http://stackoverflow.com/questions/862271/how-to-send-a-hashtable-to-an-asmx-webservice