asp.net - Send query string parameter from a non-web application -
ok, i've been bugging long.
i need call website rough vb.net app. thing need attach query string parameter calling url, can distinguish pages shown different vb app users.
so want click button , launch website, giving parameter.
first bugging adding system.web
libraries. can't use request/response.querystring
well.
i tried getting example this post. said before - cannot make use of request.querystring
cannot import it. stuck here:
process.start("http://localhost:56093/website1?id=")
i need attach query string parameter url , open website url. can give me sample code problem.
query parameters parsed web server/http handler off url use call page. consist of key , value pairs come @ end of url. code there. needed pass through parameters:
id = 1234 page = 2 display = portrait
then you'd turn them url this:
http://localhost:56093/website1?id=1234&page=2&display=portrait
therefore in code you'd have:
process.start("http://localhost:56093/website1?id=1234&page=2&display=portrait");
Comments
Post a Comment