ClickOnce
-
I am using ClickOnce to run my windows application from web Page. want to access querystinrg in windows Application, I am using the followung code for that : public string GetQueryStringParameters() { NameValueCollection nameValueTable = new NameValueCollection(); string queryString = System.Deployment.Application.ApplicationDeployment.CurrentDeployment.ActivationUri.Query.ToString(); nameValueTable = HttpUtility.ParseQueryString(queryString); return (nameValueTable.ToString()); } But i am not getting the Querystring information. Please Help.
-
I am using ClickOnce to run my windows application from web Page. want to access querystinrg in windows Application, I am using the followung code for that : public string GetQueryStringParameters() { NameValueCollection nameValueTable = new NameValueCollection(); string queryString = System.Deployment.Application.ApplicationDeployment.CurrentDeployment.ActivationUri.Query.ToString(); nameValueTable = HttpUtility.ParseQueryString(queryString); return (nameValueTable.ToString()); } But i am not getting the Querystring information. Please Help.
Please don't ToString string variables. http://msdn.microsoft.com/en-us/library/ms172242(vs.80).aspx[^] The query string is only available when the application is first installed and must be persisted.