M
mroffey
Ok here's my problem. I'm using screenscrape to get some values from a
webpage that only displays name/value pairs e.g.
UserExists=1&HasDOB=1&FirstName=Mark
I then want to get the individual values from these and split them up
and use in some stored procs. Is there a way I can pass these values
into a querystring object and then request them?
e.g.
NameValueCollection coll = Request.QueryString;
This puts all querystring paramaters into the object, but it doesn't
accept a string
e.g.
NameValueCollection coll = "UserExists=1&HasDOB=1&FirstName=Mark"
Any help would be great, at the minute I'm using a split to get the
individual values, and I can't believe that there's not a better more
efficient way of doing it.
webpage that only displays name/value pairs e.g.
UserExists=1&HasDOB=1&FirstName=Mark
I then want to get the individual values from these and split them up
and use in some stored procs. Is there a way I can pass these values
into a querystring object and then request them?
e.g.
NameValueCollection coll = Request.QueryString;
This puts all querystring paramaters into the object, but it doesn't
accept a string
e.g.
NameValueCollection coll = "UserExists=1&HasDOB=1&FirstName=Mark"
Any help would be great, at the minute I'm using a split to get the
individual values, and I can't believe that there's not a better more
efficient way of doing it.