Define the js method on the web to receive the parameters passed by the client, specifically to obtain the data after the address, and each parameter is divided by &, stored in an array, and obtained.
The details are as follows:
//Define the method to get parameters in the address function GetRequest() {var url = location.search;var theRequest = new Object();if (url.indexOf("?") != -1) {var str = url.substr(1);strs = str.split("&");for (var i = 0; i < strs.length; i++) {theRequest[strs[i].split("=")[0]] = (strs[i].split("=")[1]);}}return theRequest;}var Request = new Object();Request = GetRequest();var userName = Request['user_name']; //Get user nameThe above is the relevant knowledge of the Winform client to transfer parameters to web addresses and receive parameters introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to everyone in time. Thank you very much for your support to Wulin.com website!