A
Atul Rane
I am using ClickOnce to run my windows application from web page.
Know i want to get querystring value in my windows application in have done
code like this :
public NameValueCollection GetQueryStringParameters()
{
NameValueCollection nameValueTable = new NameValueCollection();
if (ApplicationDeployment.IsNetworkDeployed)
{
string queryString =
ApplicationDeployment.CurrentDeployment.ActivationUri.Query;
nameValueTable = HttpUtility.ParseQueryString(queryString);
}
return (nameValueTable);
}
I am getting error :
The name 'ApplicationDeployment' does not exist in the current context.
The name 'HttpUtility' does not exist in the current context.
Know i want to get querystring value in my windows application in have done
code like this :
public NameValueCollection GetQueryStringParameters()
{
NameValueCollection nameValueTable = new NameValueCollection();
if (ApplicationDeployment.IsNetworkDeployed)
{
string queryString =
ApplicationDeployment.CurrentDeployment.ActivationUri.Query;
nameValueTable = HttpUtility.ParseQueryString(queryString);
}
return (nameValueTable);
}
I am getting error :
The name 'ApplicationDeployment' does not exist in the current context.
The name 'HttpUtility' does not exist in the current context.